home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 3 / CD ACTUAL 3.iso / linux / docs / linux-do / network- / nag-1.002 / nag-1 / TheGuide / news / nntp.tex < prev    next >
LaTeX Document  |  1994-08-17  |  16.5 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: LaTeX Document (document/latex).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
1% dexvert Corel 10 Texture (image/corel10Texture) ext Unsupported
1% dexvert Text File (text/txt) fallback Supported
100% file LaTeX document text default
99% file LaTeX document, ASCII text default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/281 LaTeX (Subdocument) default
100% detectItEasy Format: Plain text[LF] default
100% xdgMime text/x-matlab default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000010| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000020| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000030| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000040| 25 0a 25 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |%.% | |
|00000050| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000060| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000070| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000080| 20 20 25 0a 25 20 20 20 | 20 20 20 20 20 20 20 20 | %.% | |
|00000090| 20 20 20 20 20 20 20 20 | 20 20 20 20 4c 65 67 61 | | Lega|
|000000a0| 6c 20 4e 6f 74 69 63 65 | 20 20 20 20 20 20 20 20 |l Notice| |
|000000b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000000c0| 20 20 20 20 25 0a 25 20 | 20 20 20 20 20 20 20 20 | %.% | |
|000000d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000000e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000000f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000100| 20 20 20 20 20 20 25 0a | 25 20 54 68 69 73 20 64 | %.|% This d|
|00000110| 6f 63 75 6d 65 6e 74 20 | 69 73 20 63 6f 70 79 72 |ocument |is copyr|
|00000120| 69 67 68 74 20 28 43 29 | 20 4f 6c 61 66 20 4b 69 |ight (C)| Olaf Ki|
|00000130| 72 63 68 2c 20 6f 6b 69 | 72 40 6d 6f 6e 61 64 2e |rch, oki|r@monad.|
|00000140| 73 77 62 2e 64 65 20 20 | 25 0a 25 20 20 20 20 20 |swb.de |%.% |
|00000150| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000160| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000170| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000180| 20 20 20 20 20 20 20 20 | 20 20 25 0a 25 20 46 6f | | %.% Fo|
|00000190| 72 20 63 6f 70 79 69 6e | 67 20 63 6f 6e 64 69 74 |r copyin|g condit|
|000001a0| 69 6f 6e 73 2c 20 70 6c | 65 61 73 65 20 72 65 66 |ions, pl|ease ref|
|000001b0| 65 72 20 74 6f 20 74 68 | 65 20 66 69 6c 65 20 43 |er to th|e file C|
|000001c0| 4f 50 59 49 4e 47 2e 09 | 25 0a 25 20 20 20 20 20 |OPYING..|%.% |
|000001d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000001e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000001f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000200| 20 20 20 20 20 20 20 20 | 20 20 25 0a 25 20 54 68 | | %.% Th|
|00000210| 65 20 61 75 74 68 6f 72 | 20 69 73 20 6e 6f 74 20 |e author| is not |
|00000220| 6c 69 61 62 6c 65 20 66 | 6f 72 20 61 6e 79 20 64 |liable f|or any d|
|00000230| 61 6d 61 67 65 73 2c 20 | 64 69 72 65 63 74 20 6f |amages, |direct o|
|00000240| 72 20 69 6e 64 69 72 65 | 63 74 2c 20 25 0a 25 20 |r indire|ct, %.% |
|00000250| 72 65 73 75 6c 74 69 6e | 67 20 66 72 6f 6d 20 74 |resultin|g from t|
|00000260| 68 65 20 75 73 65 20 6f | 66 20 69 6e 66 6f 72 6d |he use o|f inform|
|00000270| 61 74 69 6f 6e 20 70 72 | 6f 76 69 64 65 64 20 69 |ation pr|ovided i|
|00000280| 6e 20 74 68 69 73 20 20 | 20 20 20 20 20 20 25 0a |n this | %.|
|00000290| 25 20 64 6f 63 75 6d 65 | 6e 74 2e 20 20 20 20 20 |% docume|nt. |
|000002a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000002b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000002c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000002d0| 25 0a 25 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |%.% | |
|000002e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000002f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000300| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000310| 20 20 25 0a 25 25 25 25 | 25 25 25 25 25 25 25 25 | %.%%%%|%%%%%%%%|
|00000320| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000330| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000340| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000350| 25 25 25 25 25 0a 25 20 | 57 68 65 6e 20 76 69 65 |%%%%%.% |When vie|
|00000360| 77 69 6e 67 20 74 68 69 | 73 20 64 6f 63 75 6d 65 |wing thi|s docume|
|00000370| 6e 74 20 77 69 74 68 20 | 76 69 20 6f 6e 20 61 6e |nt with |vi on an|
|00000380| 20 38 30 2d 63 6f 6c 75 | 6d 6e 73 20 73 63 72 65 | 80-colu|mns scre|
|00000390| 65 6e 2c 20 20 20 25 0a | 25 20 64 6f 20 61 20 27 |en, %.|% do a '|
|000003a0| 3a 73 65 20 6e 6f 6e 75 | 6d 62 65 72 27 20 66 69 |:se nonu|mber' fi|
|000003b0| 72 73 74 2e 20 20 20 20 | 20 20 20 20 20 20 20 20 |rst. | |
|000003c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000003d0| 20 20 20 20 20 20 20 20 | 25 0a 25 25 25 25 25 25 | |%.%%%%%%|
|000003e0| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|000003f0| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000400| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000410| 25 25 25 25 25 25 25 25 | 25 25 25 0a 0a 25 25 25 |%%%%%%%%|%%%..%%%|
|00000420| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000430| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000440| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000450| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 0a 25 |%%%%%%%%|%%%%%%.%|
|00000460| 20 44 65 66 69 6e 69 74 | 69 6f 6e 73 20 6c 6f 63 | Definit|ions loc|
|00000470| 61 6c 20 74 6f 20 74 68 | 69 73 20 63 68 61 70 74 |al to th|is chapt|
|00000480| 65 72 2e 0a 25 25 25 25 | 25 25 25 25 25 25 25 25 |er..%%%%|%%%%%%%%|
|00000490| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|000004a0| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|000004b0| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|000004c0| 25 25 25 25 25 0a 25 25 | 20 57 61 72 6e 69 6e 67 |%%%%%.%%| Warning|
|000004d0| 21 21 20 54 68 65 73 65 | 20 70 61 74 68 73 20 6f |!! These| paths o|
|000004e0| 63 63 75 72 20 6c 69 74 | 65 72 61 6c 6c 79 20 69 |ccur lit|erally i|
|000004f0| 6e 20 61 20 66 65 77 20 | 76 65 72 62 61 74 69 6d |n a few |verbatim|
|00000500| 0a 25 25 20 65 6e 76 69 | 72 6f 6e 6d 65 6e 74 73 |.%% envi|ronments|
|00000510| 21 21 0a 25 25 0a 5c 64 | 65 66 5c 6e 65 77 73 6c |!!.%%.\d|ef\newsl|
|00000520| 69 62 7b 5c 66 69 6c 65 | 7b 2f 75 73 72 2f 6c 69 |ib{\file|{/usr/li|
|00000530| 62 2f 6e 65 77 73 7d 7d | 0a 5c 64 65 66 5c 6e 65 |b/news}}|.\def\ne|
|00000540| 77 73 62 69 6e 7b 5c 66 | 69 6c 65 7b 2f 75 73 72 |wsbin{\f|ile{/usr|
|00000550| 2f 6c 69 62 2f 6e 65 77 | 73 2f 62 69 6e 7d 7d 0a |/lib/new|s/bin}}.|
|00000560| 5c 64 65 66 5c 6e 65 77 | 73 73 70 6f 6f 6c 7b 5c |\def\new|sspool{\|
|00000570| 66 69 6c 65 7b 2f 76 61 | 72 2f 73 70 6f 6f 6c 2f |file{/va|r/spool/|
|00000580| 6e 65 77 73 7d 7d 0a 0a | 25 25 25 25 25 25 25 25 |news}}..|%%%%%%%%|
|00000590| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|000005a0| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|000005b0| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|000005c0| 25 25 25 25 25 25 25 25 | 25 0a 25 25 25 25 25 25 |%%%%%%%%|%.%%%%%%|
|000005d0| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|000005e0| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|000005f0| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000600| 25 25 25 25 25 25 25 25 | 25 25 25 0a 25 20 20 20 |%%%%%%%%|%%%.% |
|00000610| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000620| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000630| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000640| 20 20 20 20 20 20 20 20 | 20 20 20 20 25 0a 25 20 | | %.% |
|00000650| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 53 20 | | S |
|00000660| 54 20 41 20 52 20 54 20 | 20 20 4f 20 46 20 20 20 |T A R T | O F |
|00000670| 43 20 48 20 41 20 50 20 | 54 20 45 20 52 20 20 20 |C H A P |T E R |
|00000680| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 25 0a | | %.|
|00000690| 25 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |% | |
|000006a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000006b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000006c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000006d0| 25 0a 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%.%%%%%%|%%%%%%%%|
|000006e0| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|000006f0| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000700| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000710| 25 25 25 0a 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%.%%%%|%%%%%%%%|
|00000720| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000730| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000740| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000750| 25 25 25 25 25 0a 5c 63 | 68 61 70 74 65 72 7b 41 |%%%%%.\c|hapter{A|
|00000760| 20 44 65 73 63 72 69 70 | 74 69 6f 6e 20 6f 66 20 | Descrip|tion of |
|00000770| 4e 4e 54 50 7d 0a 25 25 | 25 25 25 25 25 25 25 25 |NNTP}.%%|%%%%%%%%|
|00000780| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000790| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|000007a0| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|000007b0| 25 25 25 25 25 25 25 0a | 5c 6c 61 62 65 6c 7b 6e |%%%%%%%.|\label{n|
|000007c0| 6e 74 70 7d 0a 5c 69 6e | 64 65 78 7b 63 6f 6e 66 |ntp}.\in|dex{conf|
|000007d0| 69 67 75 72 69 6e 67 21 | 4e 4e 54 50 7c 28 7d 0a |iguring!|NNTP|(}.|
|000007e0| 5c 69 6e 64 65 78 7b 70 | 72 6f 74 6f 63 6f 6c 21 |\index{p|rotocol!|
|000007f0| 4e 4e 54 50 7d 0a 5c 69 | 6e 64 65 78 7b 6e 65 77 |NNTP}.\i|ndex{new|
|00000800| 73 21 6e 6e 74 70 64 40 | 5c 70 72 6f 67 7b 6e 6e |s!nntpd@|\prog{nn|
|00000810| 74 70 64 7d 7d 0a 5c 69 | 6e 64 65 78 7b 73 65 72 |tpd}}.\i|ndex{ser|
|00000820| 76 65 72 21 4e 4e 54 50 | 7d 0a 5c 69 6e 64 65 78 |ver!NNTP|}.\index|
|00000830| 7b 4e 4e 54 50 7d 0a 0a | 5c 73 65 63 74 69 6f 6e |{NNTP}..|\section|
|00000840| 7b 49 6e 74 72 6f 64 75 | 63 74 69 6f 6e 7d 0a 25 |{Introdu|ction}.%|
|00000850| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000860| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000870| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000880| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000890| 0a 44 75 65 20 74 6f 20 | 74 68 65 20 64 69 66 66 |.Due to |the diff|
|000008a0| 65 72 65 6e 74 20 6e 65 | 74 77 6f 72 6b 20 74 72 |erent ne|twork tr|
|000008b0| 61 6e 73 70 6f 72 74 20 | 75 73 65 64 2c 20 4e 4e |ansport |used, NN|
|000008c0| 54 50 20 70 72 6f 76 69 | 64 65 73 20 66 6f 72 20 |TP provi|des for |
|000008d0| 61 20 76 61 73 74 6c 79 | 0a 64 69 66 66 65 72 65 |a vastly|.differe|
|000008e0| 6e 74 20 61 70 70 72 6f | 61 63 68 20 74 6f 20 6e |nt appro|ach to n|
|000008f0| 65 77 73 20 65 78 63 68 | 61 6e 67 65 20 66 72 6f |ews exch|ange fro|
|00000900| 6d 20 43 7e 6e 65 77 73 | 2e 20 20 4e 4e 54 50 20 |m C~news|. NNTP |
|00000910| 73 74 61 6e 64 73 20 66 | 6f 72 0a 60 60 4e 65 74 |stands f|or.``Net|
|00000920| 77 6f 72 6b 20 4e 65 77 | 73 20 54 72 61 6e 73 66 |work New|s Transf|
|00000930| 65 72 20 50 72 6f 74 6f | 63 6f 6c 27 27 2c 20 61 |er Proto|col'', a|
|00000940| 6e 64 20 69 73 20 6e 6f | 74 20 61 20 70 61 72 74 |nd is no|t a part|
|00000950| 69 63 75 6c 61 72 20 73 | 6f 66 74 77 61 72 65 0a |icular s|oftware.|
|00000960| 70 61 63 6b 61 67 65 2c | 20 62 75 74 20 61 6e 20 |package,| but an |
|00000970| 49 6e 74 65 72 6e 65 74 | 20 53 74 61 6e 64 61 72 |Internet| Standar|
|00000980| 64 2e 5c 66 6f 6f 74 6e | 6f 74 65 7b 0a 20 20 46 |d.\footn|ote{. F|
|00000990| 6f 72 6d 61 6c 6c 79 20 | 73 70 65 63 69 66 69 65 |ormally |specifie|
|000009a0| 64 20 69 6e 20 52 46 43 | 7e 39 37 37 2e 0a 7d 20 |d in RFC|~977..} |
|000009b0| 49 74 20 69 73 20 62 61 | 73 65 64 20 6f 6e 20 61 |It is ba|sed on a|
|000009c0| 20 73 74 72 65 61 6d 2d | 6f 72 69 65 6e 74 65 64 | stream-|oriented|
|000009d0| 20 63 6f 6e 6e 65 63 74 | 69 6f 6e 7e 2d 2d 20 75 | connect|ion~-- u|
|000009e0| 73 75 61 6c 6c 79 20 6f | 76 65 72 20 54 43 50 7e |sually o|ver TCP~|
|000009f0| 2d 2d 0a 62 65 74 77 65 | 65 6e 20 61 20 63 6c 69 |--.betwe|en a cli|
|00000a00| 65 6e 74 20 61 6e 79 77 | 68 65 72 65 20 69 6e 20 |ent anyw|here in |
|00000a10| 74 68 65 20 6e 65 74 77 | 6f 72 6b 2c 20 61 6e 64 |the netw|ork, and|
|00000a20| 20 61 20 73 65 72 76 65 | 72 20 6f 6e 20 61 20 68 | a serve|r on a h|
|00000a30| 6f 73 74 20 74 68 61 74 | 20 6b 65 65 70 73 0a 6e |ost that| keeps.n|
|00000a40| 65 74 6e 65 77 73 20 6f | 6e 20 64 69 73 6b 20 73 |etnews o|n disk s|
|00000a50| 74 6f 72 61 67 65 2e 20 | 54 68 65 20 73 74 72 65 |torage. |The stre|
|00000a60| 61 6d 20 63 6f 6e 6e 65 | 63 74 69 6f 6e 20 61 6c |am conne|ction al|
|00000a70| 6c 6f 77 73 20 74 68 65 | 20 63 6c 69 65 6e 74 20 |lows the| client |
|00000a80| 61 6e 64 20 73 65 72 76 | 65 72 0a 74 6f 20 69 6e |and serv|er.to in|
|00000a90| 74 65 72 61 63 74 69 76 | 65 6c 79 20 6e 65 67 6f |teractiv|ely nego|
|00000aa0| 74 69 61 74 65 20 61 72 | 74 69 63 6c 65 20 74 72 |tiate ar|ticle tr|
|00000ab0| 61 6e 73 66 65 72 20 77 | 69 74 68 20 6e 65 61 72 |ansfer w|ith near|
|00000ac0| 6c 79 20 6e 6f 20 74 75 | 72 6e 61 72 6f 75 6e 64 |ly no tu|rnaround|
|00000ad0| 0a 64 65 6c 61 79 2c 20 | 74 68 75 73 20 6b 65 65 |.delay, |thus kee|
|00000ae0| 70 69 6e 67 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |ping the| number |
|00000af0| 6f 66 20 64 75 70 6c 69 | 63 61 74 65 20 61 72 74 |of dupli|cate art|
|00000b00| 69 63 6c 65 73 20 6c 6f | 77 2e 20 54 6f 67 65 74 |icles lo|w. Toget|
|00000b10| 68 65 72 20 77 69 74 68 | 20 74 68 65 0a 49 6e 74 |her with| the.Int|
|00000b20| 65 72 6e 65 74 27 73 20 | 68 69 67 68 20 74 72 61 |ernet's |high tra|
|00000b30| 6e 73 66 65 72 20 72 61 | 74 65 73 2c 20 74 68 69 |nsfer ra|tes, thi|
|00000b40| 73 20 61 64 64 73 20 75 | 70 20 74 6f 20 61 20 6e |s adds u|p to a n|
|00000b50| 65 77 73 20 74 72 61 6e | 73 70 6f 72 74 20 74 68 |ews tran|sport th|
|00000b60| 61 74 0a 73 75 72 70 61 | 73 73 65 73 20 74 68 65 |at.surpa|sses the|
|00000b70| 20 6f 72 69 67 69 6e 61 | 6c 20 55 55 43 50 20 6e | origina|l UUCP n|
|00000b80| 65 74 77 6f 72 6b 73 20 | 62 79 20 66 61 72 2e 20 |etworks |by far. |
|00000b90| 57 68 69 6c 65 20 73 6f | 6d 65 20 79 65 61 72 73 |While so|me years|
|00000ba0| 20 61 67 6f 20 69 74 20 | 77 61 73 0a 6e 6f 74 20 | ago it |was.not |
|00000bb0| 75 6e 63 6f 6d 6d 6f 6e | 20 66 6f 72 20 61 6e 20 |uncommon| for an |
|00000bc0| 61 72 74 69 63 6c 65 20 | 74 6f 20 74 61 6b 65 20 |article |to take |
|00000bd0| 74 77 6f 20 77 65 65 6b | 73 20 6f 72 20 6d 6f 72 |two week|s or mor|
|00000be0| 65 20 62 65 66 6f 72 65 | 20 69 74 20 61 72 72 69 |e before| it arri|
|00000bf0| 76 65 64 20 69 6e 0a 74 | 68 65 20 6c 61 73 74 20 |ved in.t|he last |
|00000c00| 63 6f 72 6e 65 72 20 6f | 66 20 55 73 65 6e 65 74 |corner o|f Usenet|
|00000c10| 2c 20 74 68 69 73 20 69 | 73 20 6e 6f 77 20 6f 66 |, this i|s now of|
|00000c20| 74 65 6e 20 6c 65 73 73 | 20 74 68 61 6e 20 74 77 |ten less| than tw|
|00000c30| 6f 20 64 61 79 73 3b 20 | 6f 6e 20 74 68 65 0a 49 |o days; |on the.I|
|00000c40| 6e 74 65 72 6e 65 74 20 | 69 74 73 65 6c 66 2c 20 |nternet |itself, |
|00000c50| 69 74 20 69 73 20 65 76 | 65 6e 20 77 69 74 68 69 |it is ev|en withi|
|00000c60| 6e 20 74 68 65 20 72 61 | 6e 67 65 20 6f 66 20 6d |n the ra|nge of m|
|00000c70| 69 6e 75 74 65 73 2e 0a | 0a 0a 56 61 72 69 6f 75 |inutes..|..Variou|
|00000c80| 73 20 63 6f 6d 6d 61 6e | 64 73 20 61 6c 6c 6f 77 |s comman|ds allow|
|00000c90| 20 63 6c 69 65 6e 74 73 | 20 74 6f 20 72 65 74 72 | clients| to retr|
|00000ca0| 69 65 76 65 2c 20 73 65 | 6e 64 20 61 6e 64 20 70 |ieve, se|nd and p|
|00000cb0| 6f 73 74 20 61 72 74 69 | 63 6c 65 73 2e 0a 54 68 |ost arti|cles..Th|
|00000cc0| 65 20 64 69 66 66 65 72 | 65 6e 63 65 20 62 65 74 |e differ|ence bet|
|00000cd0| 77 65 65 6e 20 73 65 6e | 64 69 6e 67 20 61 6e 64 |ween sen|ding and|
|00000ce0| 20 70 6f 73 74 69 6e 67 | 20 69 73 20 74 68 61 74 | posting| is that|
|00000cf0| 20 74 68 65 20 6c 61 74 | 74 65 72 20 6d 61 79 0a | the lat|ter may.|
|00000d00| 69 6e 76 6f 6c 76 65 20 | 61 72 74 69 63 6c 65 73 |involve |articles|
|00000d10| 20 77 69 74 68 20 69 6e | 63 6f 6d 70 6c 65 74 65 | with in|complete|
|00000d20| 20 68 65 61 64 65 72 20 | 69 6e 66 6f 72 6d 61 74 | header |informat|
|00000d30| 69 6f 6e 2e 5c 66 6f 6f | 74 6e 6f 74 65 7b 0a 20 |ion.\foo|tnote{. |
|00000d40| 20 57 68 65 6e 20 70 6f | 73 74 69 6e 67 20 61 6e | When po|sting an|
|00000d50| 20 61 72 74 69 63 6c 65 | 20 6f 76 65 72 20 4e 4e | article| over NN|
|00000d60| 54 50 2c 20 74 68 65 20 | 73 65 72 76 65 72 20 61 |TP, the |server a|
|00000d70| 6c 77 61 79 73 20 61 64 | 64 73 20 61 74 20 6c 65 |lways ad|ds at le|
|00000d80| 61 73 74 20 6f 6e 65 0a | 20 20 68 65 61 64 65 72 |ast one.| header|
|00000d90| 20 66 69 65 6c 64 2c 20 | 77 68 69 63 68 20 69 73 | field, |which is|
|00000da0| 20 5c 6d 68 64 72 7b 4e | 6e 74 70 2d 50 6f 73 74 | \mhdr{N|ntp-Post|
|00000db0| 69 6e 67 2d 48 6f 73 74 | 3a 7d 2e 20 49 74 20 63 |ing-Host|:}. It c|
|00000dc0| 6f 6e 74 61 69 6e 73 20 | 74 68 65 0a 20 20 63 6c |ontains |the. cl|
|00000dd0| 69 65 6e 74 27 73 20 68 | 6f 73 74 20 6e 61 6d 65 |ient's h|ost name|
|00000de0| 2e 0a 7d 20 41 72 74 69 | 63 6c 65 20 72 65 74 72 |..} Arti|cle retr|
|00000df0| 69 65 76 61 6c 20 6d 61 | 79 20 62 65 20 75 73 65 |ieval ma|y be use|
|00000e00| 64 20 62 79 20 6e 65 77 | 73 20 74 72 61 6e 73 66 |d by new|s transf|
|00000e10| 65 72 20 63 6c 69 65 6e | 74 73 20 61 73 20 77 65 |er clien|ts as we|
|00000e20| 6c 6c 20 61 73 0a 6e 65 | 77 73 72 65 61 64 65 72 |ll as.ne|wsreader|
|00000e30| 73 2e 20 54 68 69 73 20 | 6d 61 6b 65 73 20 4e 4e |s. This |makes NN|
|00000e40| 54 50 20 61 6e 20 65 78 | 63 65 6c 6c 65 6e 74 20 |TP an ex|cellent |
|00000e50| 74 6f 6f 6c 20 66 6f 72 | 20 70 72 6f 76 69 64 69 |tool for| providi|
|00000e60| 6e 67 20 6e 65 77 73 20 | 61 63 63 65 73 73 20 74 |ng news |access t|
|00000e70| 6f 0a 6d 61 6e 79 20 63 | 6c 69 65 6e 74 73 20 6f |o.many c|lients o|
|00000e80| 6e 20 61 20 6c 6f 63 61 | 6c 20 6e 65 74 77 6f 72 |n a loca|l networ|
|00000e90| 6b 20 77 69 74 68 6f 75 | 74 20 67 6f 69 6e 67 20 |k withou|t going |
|00000ea0| 74 68 72 6f 75 67 68 20 | 74 68 65 20 63 6f 6e 74 |through |the cont|
|00000eb0| 6f 72 74 69 6f 6e 73 20 | 74 68 61 74 0a 61 72 65 |ortions |that.are|
|00000ec0| 20 6e 65 63 65 73 73 61 | 72 79 20 77 68 65 6e 20 | necessa|ry when |
|00000ed0| 75 73 69 6e 67 20 4e 46 | 53 2e 0a 0a 0a 5c 69 6e |using NF|S....\in|
|00000ee0| 64 65 78 7b 6e 65 77 73 | 21 70 75 73 68 69 6e 67 |dex{news|!pushing|
|00000ef0| 7d 0a 5c 69 6e 64 65 78 | 7b 6e 65 77 73 21 70 75 |}.\index|{news!pu|
|00000f00| 6c 6c 69 6e 67 7d 0a 4e | 4e 54 50 20 61 6c 73 6f |lling}.N|NTP also|
|00000f10| 20 70 72 6f 76 69 64 65 | 73 20 66 6f 72 20 61 6e | provide|s for an|
|00000f20| 20 61 63 74 69 76 65 20 | 61 6e 64 20 61 20 70 61 | active |and a pa|
|00000f30| 73 73 69 76 65 20 77 61 | 79 20 6f 66 20 6e 65 77 |ssive wa|y of new|
|00000f40| 73 20 74 72 61 6e 73 66 | 65 72 2c 0a 63 6f 6c 6c |s transf|er,.coll|
|00000f50| 6f 71 75 69 61 6c 6c 79 | 20 63 61 6c 6c 65 64 20 |oquially| called |
|00000f60| 60 60 70 75 73 68 69 6e | 67 27 27 20 61 6e 64 20 |``pushin|g'' and |
|00000f70| 60 60 70 75 6c 6c 69 6e | 67 27 27 2e 20 50 75 73 |``pullin|g''. Pus|
|00000f80| 68 69 6e 67 20 69 73 20 | 62 61 73 69 63 61 6c 6c |hing is |basicall|
|00000f90| 79 0a 74 68 65 20 73 61 | 6d 65 20 61 73 20 74 68 |y.the sa|me as th|
|00000fa0| 65 20 43 7e 6e 65 77 73 | 20 69 68 61 76 65 2f 73 |e C~news| ihave/s|
|00000fb0| 65 6e 64 6d 65 20 70 72 | 6f 74 6f 63 6f 6c 2e 20 |endme pr|otocol. |
|00000fc0| 54 68 65 20 63 6c 69 65 | 6e 74 20 6f 66 66 65 72 |The clie|nt offer|
|00000fd0| 73 20 61 6e 0a 61 72 74 | 69 63 6c 65 20 74 6f 20 |s an.art|icle to |
|00000fe0| 74 68 65 20 73 65 72 76 | 65 72 20 74 68 72 6f 75 |the serv|er throu|
|00000ff0| 67 68 20 74 68 65 20 60 | 60 5c 6b 65 79 77 6f 72 |gh the `|`\keywor|
|00001000| 64 7b 49 48 41 56 45 20 | 24 3c 24 76 61 72 7b 6d |d{IHAVE |$<$var{m|
|00001010| 73 67 69 64 7d 24 3e 24 | 7d 27 27 0a 63 6f 6d 6d |sgid}$>$|}''.comm|
|00001020| 61 6e 64 2c 20 61 6e 64 | 20 74 68 65 20 73 65 72 |and, and| the ser|
|00001030| 76 65 72 20 72 65 74 75 | 72 6e 73 20 61 20 72 65 |ver retu|rns a re|
|00001040| 73 70 6f 6e 73 65 20 63 | 6f 64 65 20 74 68 61 74 |sponse c|ode that|
|00001050| 20 69 6e 64 69 63 61 74 | 65 73 20 77 68 65 74 68 | indicat|es wheth|
|00001060| 65 72 0a 69 74 20 61 6c | 72 65 61 64 79 20 68 61 |er.it al|ready ha|
|00001070| 73 20 74 68 65 20 61 72 | 74 69 63 6c 65 2c 20 6f |s the ar|ticle, o|
|00001080| 72 20 69 66 20 69 74 20 | 77 61 6e 74 73 20 69 74 |r if it |wants it|
|00001090| 2e 20 49 66 20 73 6f 2c | 20 74 68 65 20 63 6c 69 |. If so,| the cli|
|000010a0| 65 6e 74 20 73 65 6e 64 | 73 0a 74 68 65 20 61 72 |ent send|s.the ar|
|000010b0| 74 69 63 6c 65 2c 20 74 | 65 72 6d 69 6e 61 74 65 |ticle, t|erminate|
|000010c0| 64 20 62 79 20 61 20 73 | 69 6e 67 6c 65 20 64 6f |d by a s|ingle do|
|000010d0| 74 20 6f 6e 20 61 20 73 | 65 70 61 72 61 74 65 20 |t on a s|eparate |
|000010e0| 6c 69 6e 65 2e 0a 0a 0a | 50 75 73 68 69 6e 67 20 |line....|Pushing |
|000010f0| 6e 65 77 73 20 68 61 73 | 20 74 68 65 20 73 69 6e |news has| the sin|
|00001100| 67 6c 65 20 64 69 73 61 | 64 76 61 6e 74 61 67 65 |gle disa|dvantage|
|00001110| 20 74 68 61 74 20 69 74 | 20 70 6c 61 63 65 73 20 | that it| places |
|00001120| 61 20 68 65 61 76 79 20 | 6c 6f 61 64 20 6f 6e 0a |a heavy |load on.|
|00001130| 74 68 65 20 73 65 72 76 | 65 72 20 73 79 73 74 65 |the serv|er syste|
|00001140| 6d 2c 20 73 69 6e 63 65 | 20 69 74 20 68 61 73 20 |m, since| it has |
|00001150| 74 6f 20 73 65 61 72 63 | 68 20 69 74 73 20 68 69 |to searc|h its hi|
|00001160| 73 74 6f 72 79 20 64 61 | 74 61 62 61 73 65 20 66 |story da|tabase f|
|00001170| 6f 72 20 65 76 65 72 79 | 0a 73 69 6e 67 6c 65 20 |or every|.single |
|00001180| 61 72 74 69 63 6c 65 2e | 0a 0a 0a 54 68 65 20 6f |article.|...The o|
|00001190| 70 70 6f 73 69 74 65 20 | 74 65 63 68 6e 69 71 75 |pposite |techniqu|
|000011a0| 65 20 69 73 20 70 75 6c | 6c 69 6e 67 20 6e 65 77 |e is pul|ling new|
|000011b0| 73 2c 20 69 6e 20 77 68 | 69 63 68 20 74 68 65 20 |s, in wh|ich the |
|000011c0| 63 6c 69 65 6e 74 20 72 | 65 71 75 65 73 74 73 20 |client r|equests |
|000011d0| 61 0a 6c 69 73 74 20 6f | 66 20 61 6c 6c 20 28 61 |a.list o|f all (a|
|000011e0| 76 61 69 6c 61 62 6c 65 | 29 20 61 72 74 69 63 6c |vailable|) articl|
|000011f0| 65 73 20 66 72 6f 6d 20 | 61 20 67 72 6f 75 70 20 |es from |a group |
|00001200| 74 68 61 74 20 68 61 76 | 65 20 61 72 72 69 76 65 |that hav|e arrive|
|00001210| 64 20 61 66 74 65 72 20 | 61 0a 73 70 65 63 69 66 |d after |a.specif|
|00001220| 69 65 64 20 64 61 74 65 | 2e 20 54 68 69 73 20 71 |ied date|. This q|
|00001230| 75 65 72 79 20 69 73 20 | 70 65 72 66 6f 72 6d 65 |uery is |performe|
|00001240| 64 20 62 79 20 74 68 65 | 20 5c 6b 65 79 77 6f 72 |d by the| \keywor|
|00001250| 64 7b 4e 45 57 4e 45 57 | 53 7d 0a 63 6f 6d 6d 61 |d{NEWNEW|S}.comma|
|00001260| 6e 64 2e 20 46 72 6f 6d | 20 74 68 65 20 72 65 74 |nd. From| the ret|
|00001270| 75 72 6e 65 64 20 6c 69 | 73 74 20 6f 66 20 6d 65 |urned li|st of me|
|00001280| 73 73 61 67 65 20 69 64 | 73 2c 20 74 68 65 20 63 |ssage id|s, the c|
|00001290| 6c 69 65 6e 74 20 73 65 | 6c 65 63 74 73 20 74 68 |lient se|lects th|
|000012a0| 6f 73 65 0a 61 72 74 69 | 63 6c 65 73 20 69 74 20 |ose.arti|cles it |
|000012b0| 64 6f 65 73 20 6e 6f 74 | 20 79 65 74 20 68 61 76 |does not| yet hav|
|000012c0| 65 2c 20 75 73 69 6e 67 | 20 74 68 65 20 5c 6b 65 |e, using| the \ke|
|000012d0| 79 77 6f 72 64 7b 41 52 | 54 49 43 4c 45 7d 20 63 |yword{AR|TICLE} c|
|000012e0| 6f 6d 6d 61 6e 64 20 66 | 6f 72 0a 65 61 63 68 20 |ommand f|or.each |
|000012f0| 6f 66 20 74 68 65 6d 20 | 69 6e 20 74 75 72 6e 2e |of them |in turn.|
|00001300| 0a 0a 0a 54 68 65 20 70 | 72 6f 62 6c 65 6d 20 77 |...The p|roblem w|
|00001310| 69 74 68 20 70 75 6c 6c | 69 6e 67 20 6e 65 77 73 |ith pull|ing news|
|00001320| 20 69 73 20 74 68 61 74 | 20 69 74 20 6e 65 65 64 | is that| it need|
|00001330| 73 20 74 69 67 68 74 20 | 63 6f 6e 74 72 6f 6c 20 |s tight |control |
|00001340| 62 79 20 74 68 65 20 73 | 65 72 76 65 72 0a 6f 76 |by the s|erver.ov|
|00001350| 65 72 20 77 68 69 63 68 | 20 67 72 6f 75 70 73 20 |er which| groups |
|00001360| 61 6e 64 20 64 69 73 74 | 72 69 62 75 74 69 6f 6e |and dist|ribution|
|00001370| 73 20 69 74 20 61 6c 6c | 6f 77 73 20 61 20 63 6c |s it all|ows a cl|
|00001380| 69 65 6e 74 20 74 6f 20 | 72 65 71 75 65 73 74 2e |ient to |request.|
|00001390| 20 46 6f 72 0a 65 78 61 | 6d 70 6c 65 2c 20 69 74 | For.exa|mple, it|
|000013a0| 20 68 61 73 20 74 6f 20 | 6d 61 6b 65 20 73 75 72 | has to |make sur|
|000013b0| 65 20 74 68 61 74 20 6e | 6f 20 63 6f 6e 66 69 64 |e that n|o confid|
|000013c0| 65 6e 74 69 61 6c 20 6d | 61 74 65 72 69 61 6c 20 |ential m|aterial |
|000013d0| 66 72 6f 6d 20 6e 65 77 | 73 67 72 6f 75 70 73 0a |from new|sgroups.|
|000013e0| 6c 6f 63 61 6c 20 74 6f | 20 74 68 65 20 73 69 74 |local to| the sit|
|000013f0| 65 20 61 72 65 20 73 65 | 6e 74 20 74 6f 20 75 6e |e are se|nt to un|
|00001400| 61 75 74 68 6f 72 69 7a | 65 64 20 63 6c 69 65 6e |authoriz|ed clien|
|00001410| 74 73 2e 0a 0a 0a 54 68 | 65 72 65 20 61 72 65 20 |ts....Th|ere are |
|00001420| 61 6c 73 6f 20 61 20 6e | 75 6d 62 65 72 20 6f 66 |also a n|umber of|
|00001430| 20 63 6f 6e 76 65 6e 69 | 65 6e 63 65 20 63 6f 6d | conveni|ence com|
|00001440| 6d 61 6e 64 73 20 66 6f | 72 20 6e 65 77 73 72 65 |mands fo|r newsre|
|00001450| 61 64 65 72 73 20 74 68 | 61 74 0a 70 65 72 6d 69 |aders th|at.permi|
|00001460| 74 20 74 68 65 6d 20 74 | 6f 20 72 65 74 72 69 65 |t them t|o retrie|
|00001470| 76 65 20 74 68 65 20 61 | 72 74 69 63 6c 65 20 68 |ve the a|rticle h|
|00001480| 65 61 64 65 72 20 61 6e | 64 20 62 6f 64 79 20 73 |eader an|d body s|
|00001490| 65 70 61 72 61 74 65 6c | 79 2c 20 6f 72 20 65 76 |eparatel|y, or ev|
|000014a0| 65 6e 0a 73 69 6e 67 6c | 65 20 68 65 61 64 65 72 |en.singl|e header|
|000014b0| 20 6c 69 6e 65 73 20 66 | 72 6f 6d 20 61 20 72 61 | lines f|rom a ra|
|000014c0| 6e 67 65 20 6f 66 20 61 | 72 74 69 63 6c 65 73 2e |nge of a|rticles.|
|000014d0| 20 54 68 69 73 20 6c 65 | 74 73 20 79 6f 75 20 6b | This le|ts you k|
|000014e0| 65 65 70 20 61 6c 6c 0a | 6e 65 77 73 20 6f 6e 20 |eep all.|news on |
|000014f0| 61 20 63 65 6e 74 72 61 | 6c 20 68 6f 73 74 2c 20 |a centra|l host, |
|00001500| 77 69 74 68 20 61 6c 6c | 20 75 73 65 72 73 20 6f |with all| users o|
|00001510| 6e 20 74 68 65 20 28 70 | 72 65 73 75 6d 61 62 6c |n the (p|resumabl|
|00001520| 79 20 6c 6f 63 61 6c 29 | 20 6e 65 74 77 6f 72 6b |y local)| network|
|00001530| 0a 75 73 69 6e 67 20 4e | 4e 54 50 2d 62 61 73 65 |.using N|NTP-base|
|00001540| 64 20 63 6c 69 65 6e 74 | 20 70 72 6f 67 72 61 6d |d client| program|
|00001550| 73 20 66 6f 72 20 72 65 | 61 64 69 6e 67 20 61 6e |s for re|ading an|
|00001560| 64 20 70 6f 73 74 69 6e | 67 2e 20 54 68 69 73 20 |d postin|g. This |
|00001570| 69 73 20 61 6e 0a 61 6c | 74 65 72 6e 61 74 69 76 |is an.al|ternativ|
|00001580| 65 20 74 6f 20 65 78 70 | 6f 72 74 69 6e 67 20 74 |e to exp|orting t|
|00001590| 68 65 20 6e 65 77 73 20 | 64 69 72 65 63 74 6f 72 |he news |director|
|000015a0| 69 65 73 20 76 69 61 20 | 4e 46 53 20 77 68 69 63 |ies via |NFS whic|
|000015b0| 68 20 69 73 20 64 65 73 | 63 72 69 62 65 64 0a 69 |h is des|cribed.i|
|000015c0| 6e 20 63 68 61 70 74 65 | 72 7e 5c 72 65 66 7b 63 |n chapte|r~\ref{c|
|000015d0| 6e 65 77 73 7d 2e 0a 0a | 0a 5c 69 6e 64 65 78 7b |news}...|.\index{|
|000015e0| 6e 65 77 73 21 66 61 6b | 69 6e 67 7d 0a 41 6e 20 |news!fak|ing}.An |
|000015f0| 6f 76 65 72 61 6c 6c 20 | 70 72 6f 62 6c 65 6d 20 |overall |problem |
|00001600| 6f 66 20 4e 4e 54 50 20 | 69 73 20 74 68 61 74 20 |of NNTP |is that |
|00001610| 69 74 20 61 6c 6c 6f 77 | 73 20 74 68 65 20 6b 6e |it allow|s the kn|
|00001620| 6f 77 6c 65 64 67 65 61 | 62 6c 65 20 74 6f 20 69 |owledgea|ble to i|
|00001630| 6e 73 65 72 74 0a 61 72 | 74 69 63 6c 65 73 20 69 |nsert.ar|ticles i|
|00001640| 6e 74 6f 20 74 68 65 20 | 6e 65 77 73 20 73 74 72 |nto the |news str|
|00001650| 65 61 6d 20 77 69 74 68 | 20 66 61 6c 73 65 20 73 |eam with| false s|
|00001660| 65 6e 64 65 72 20 73 70 | 65 63 69 66 69 63 61 74 |ender sp|ecificat|
|00001670| 69 6f 6e 2e 20 54 68 69 | 73 20 69 73 0a 63 61 6c |ion. Thi|s is.cal|
|00001680| 6c 65 64 20 5c 65 6d 70 | 68 7b 6e 65 77 73 20 66 |led \emp|h{news f|
|00001690| 61 6b 69 6e 67 7d 2e 5c | 66 6f 6f 74 6e 6f 74 65 |aking}.\|footnote|
|000016a0| 7b 0a 20 54 68 65 20 73 | 61 6d 65 20 70 72 6f 62 |{. The s|ame prob|
|000016b0| 6c 65 6d 20 65 78 69 73 | 74 73 20 77 69 74 68 20 |lem exis|ts with |
|000016c0| 53 4d 54 50 2c 20 74 68 | 65 20 53 69 6d 70 6c 65 |SMTP, th|e Simple|
|000016d0| 20 4d 61 69 6c 20 54 72 | 61 6e 73 66 65 72 20 50 | Mail Tr|ansfer P|
|000016e0| 72 6f 74 6f 63 6f 6c 2e | 0a 7d 20 41 6e 20 65 78 |rotocol.|.} An ex|
|000016f0| 74 65 6e 73 69 6f 6e 20 | 74 6f 20 4e 4e 54 50 20 |tension |to NNTP |
|00001700| 61 6c 6c 6f 77 73 20 74 | 6f 20 72 65 71 75 69 72 |allows t|o requir|
|00001710| 65 20 61 20 75 73 65 72 | 20 61 75 74 68 65 6e 74 |e a user| authent|
|00001720| 69 63 61 74 69 6f 6e 20 | 66 6f 72 0a 63 65 72 74 |ication |for.cert|
|00001730| 61 69 6e 20 63 6f 6d 6d | 61 6e 64 73 2e 0a 0a 0a |ain comm|ands....|
|00001740| 5c 69 6e 64 65 78 7b 6e | 6e 74 70 64 40 5c 70 72 |\index{n|ntpd@\pr|
|00001750| 6f 67 7b 6e 6e 74 70 64 | 7d 7d 0a 5c 69 6e 64 65 |og{nntpd|}}.\inde|
|00001760| 78 7b 4c 61 70 73 6c 65 | 79 2c 20 50 68 69 6c 7d |x{Lapsle|y, Phil}|
|00001770| 0a 5c 69 6e 64 65 78 7b | 42 61 72 62 65 72 2c 20 |.\index{|Barber, |
|00001780| 53 74 61 6e 7d 0a 54 68 | 65 72 65 20 61 72 65 20 |Stan}.Th|ere are |
|00001790| 61 20 6e 75 6d 62 65 72 | 20 6f 66 20 4e 4e 54 50 |a number| of NNTP|
|000017a0| 20 70 61 63 6b 61 67 65 | 73 20 61 76 61 69 6c 61 | package|s availa|
|000017b0| 62 6c 65 2e 20 4f 6e 65 | 20 6f 66 20 74 68 65 20 |ble. One| of the |
|000017c0| 6d 6f 72 65 20 77 69 64 | 65 6c 79 20 6b 6e 6f 77 |more wid|ely know|
|000017d0| 6e 0a 69 73 20 74 68 65 | 20 4e 4e 54 50 20 64 61 |n.is the| NNTP da|
|000017e0| 65 6d 6f 6e 2c 20 61 6c | 73 6f 20 6b 6e 6f 77 6e |emon, al|so known|
|000017f0| 20 61 73 20 74 68 65 20 | 5c 65 6d 70 68 7b 72 65 | as the |\emph{re|
|00001800| 66 65 72 65 6e 63 65 20 | 69 6d 70 6c 65 6d 65 6e |ference |implemen|
|00001810| 74 61 74 69 6f 6e 7d 2e | 0a 4f 72 69 67 69 6e 61 |tation}.|.Origina|
|00001820| 6c 6c 79 2c 20 69 74 20 | 77 61 73 20 77 72 69 74 |lly, it |was writ|
|00001830| 74 65 6e 20 62 79 20 53 | 74 61 6e 20 42 61 72 62 |ten by S|tan Barb|
|00001840| 65 72 20 61 6e 64 20 50 | 68 69 6c 20 4c 61 70 73 |er and P|hil Laps|
|00001850| 6c 65 79 20 74 6f 20 69 | 6c 6c 75 73 74 72 61 74 |ley to i|llustrat|
|00001860| 65 0a 74 68 65 20 64 65 | 74 61 69 6c 73 20 6f 66 |e.the de|tails of|
|00001870| 20 52 46 43 7e 39 37 37 | 2e 20 20 49 74 73 20 6d | RFC~977|. Its m|
|00001880| 6f 73 74 20 72 65 63 65 | 6e 74 20 76 65 72 73 69 |ost rece|nt versi|
|00001890| 6f 6e 20 69 73 20 5c 70 | 72 6f 67 7b 6e 6e 74 70 |on is \p|rog{nntp|
|000018a0| 64 2d 31 2e 35 2e 31 31 | 7d 2c 0a 77 68 69 63 68 |d-1.5.11|},.which|
|000018b0| 20 77 69 6c 6c 20 62 65 | 20 64 65 73 63 72 69 62 | will be| describ|
|000018c0| 65 64 20 62 65 6c 6f 77 | 2e 20 20 59 6f 75 20 6d |ed below|. You m|
|000018d0| 61 79 20 65 69 74 68 65 | 72 20 67 65 74 20 74 68 |ay eithe|r get th|
|000018e0| 65 20 73 6f 75 72 63 65 | 73 20 61 6e 64 20 63 6f |e source|s and co|
|000018f0| 6d 70 69 6c 65 0a 69 74 | 20 79 6f 75 72 73 65 6c |mpile.it| yoursel|
|00001900| 66 2c 20 6f 72 20 75 73 | 65 20 74 68 65 20 5c 70 |f, or us|e the \p|
|00001910| 72 6f 67 7b 6e 6e 74 70 | 64 7d 20 66 72 6f 6d 20 |rog{nntp|d} from |
|00001920| 46 72 65 64 20 76 61 6e | 7e 4b 65 6d 70 65 6e 27 |Fred van|~Kempen'|
|00001930| 73 20 5c 66 69 6c 65 7b | 6e 65 74 2d 73 74 64 7d |s \file{|net-std}|
|00001940| 0a 62 69 6e 61 72 79 20 | 70 61 63 6b 61 67 65 2e |.binary |package.|
|00001950| 20 20 4e 6f 20 72 65 61 | 64 79 2d 74 6f 2d 67 6f | No rea|dy-to-go|
|00001960| 20 62 69 6e 61 72 69 65 | 73 20 6f 66 20 5c 70 72 | binarie|s of \pr|
|00001970| 6f 67 7b 6e 6e 74 70 64 | 7d 20 61 72 65 20 70 72 |og{nntpd|} are pr|
|00001980| 6f 76 69 64 65 64 2c 0a | 62 65 63 61 75 73 65 20 |ovided,.|because |
|00001990| 6f 66 20 76 61 72 69 6f | 75 73 20 73 69 74 65 2d |of vario|us site-|
|000019a0| 73 70 65 63 69 66 69 63 | 20 76 61 6c 75 65 73 20 |specific| values |
|000019b0| 74 68 61 74 20 6d 75 73 | 74 20 62 65 20 63 6f 6d |that mus|t be com|
|000019c0| 70 69 6c 65 64 20 69 6e | 2e 0a 0a 0a 54 68 65 20 |piled in|....The |
|000019d0| 5c 70 72 6f 67 7b 6e 6e | 74 70 64 7d 20 70 61 63 |\prog{nn|tpd} pac|
|000019e0| 6b 61 67 65 20 63 6f 6e | 73 69 73 74 73 20 6f 66 |kage con|sists of|
|000019f0| 20 61 20 73 65 72 76 65 | 72 20 61 6e 64 20 74 77 | a serve|r and tw|
|00001a00| 6f 20 63 6c 69 65 6e 74 | 73 20 66 6f 72 0a 70 75 |o client|s for.pu|
|00001a10| 6c 6c 69 6e 67 20 61 6e | 64 20 70 75 73 68 69 6e |lling an|d pushin|
|00001a20| 67 20 6e 65 77 73 2c 20 | 72 65 73 70 65 63 74 69 |g news, |respecti|
|00001a30| 76 65 6c 79 2c 20 61 73 | 20 77 65 6c 6c 20 61 73 |vely, as| well as|
|00001a40| 20 61 6e 20 5c 70 72 6f | 67 7b 69 6e 65 77 73 7d | an \pro|g{inews}|
|00001a50| 0a 72 65 70 6c 61 63 65 | 6d 65 6e 74 2e 20 54 68 |.replace|ment. Th|
|00001a60| 65 79 20 6c 69 76 65 20 | 69 6e 20 61 20 42 6e 65 |ey live |in a Bne|
|00001a70| 77 73 20 65 6e 76 69 72 | 6f 6e 6d 65 6e 74 2c 20 |ws envir|onment, |
|00001a80| 62 75 74 20 77 69 74 68 | 20 61 20 6c 69 74 74 6c |but with| a littl|
|00001a90| 65 0a 74 77 65 61 6b 69 | 6e 67 2c 20 74 68 65 79 |e.tweaki|ng, they|
|00001aa0| 20 77 69 6c 6c 20 62 65 | 20 68 61 70 70 79 20 77 | will be| happy w|
|00001ab0| 69 74 68 20 43 7e 6e 65 | 77 73 2c 20 74 6f 6f 2e |ith C~ne|ws, too.|
|00001ac0| 20 20 48 6f 77 65 76 65 | 72 20 69 66 20 79 6f 75 | Howeve|r if you|
|00001ad0| 20 70 6c 61 6e 20 74 6f | 0a 75 73 65 20 4e 4e 54 | plan to|.use NNT|
|00001ae0| 50 20 66 6f 72 20 6d 6f | 72 65 20 74 68 61 6e 20 |P for mo|re than |
|00001af0| 6f 66 66 65 72 69 6e 67 | 20 6e 65 77 73 72 65 61 |offering| newsrea|
|00001b00| 64 65 72 73 20 61 63 63 | 65 73 73 20 74 6f 20 79 |ders acc|ess to y|
|00001b10| 6f 75 72 20 6e 65 77 73 | 20 73 65 72 76 65 72 2c |our news| server,|
|00001b20| 0a 74 68 65 20 72 65 66 | 65 72 65 6e 63 65 20 69 |.the ref|erence i|
|00001b30| 6d 70 6c 65 6d 65 6e 74 | 61 74 69 6f 6e 20 69 73 |mplement|ation is|
|00001b40| 20 6e 6f 74 20 72 65 61 | 6c 6c 79 20 61 6e 20 6f | not rea|lly an o|
|00001b50| 70 74 69 6f 6e 2e 20 20 | 57 65 20 77 69 6c 6c 20 |ption. |We will |
|00001b60| 74 68 65 72 65 66 6f 72 | 65 0a 64 69 73 63 75 73 |therefor|e.discus|
|00001b70| 73 20 6f 6e 6c 79 20 74 | 68 65 20 4e 4e 54 50 20 |s only t|he NNTP |
|00001b80| 64 61 65 6d 6f 6e 20 63 | 6f 6e 74 61 69 6e 65 64 |daemon c|ontained|
|00001b90| 20 69 6e 20 74 68 65 20 | 5c 70 72 6f 67 7b 6e 6e | in the |\prog{nn|
|00001ba0| 74 70 64 7d 20 70 61 63 | 6b 61 67 65 2c 20 61 6e |tpd} pac|kage, an|
|00001bb0| 64 0a 6c 65 61 76 65 20 | 6f 75 74 20 74 68 65 20 |d.leave |out the |
|00001bc0| 63 6c 69 65 6e 74 20 70 | 72 6f 67 72 61 6d 73 2e |client p|rograms.|
|00001bd0| 0a 0a 0a 5c 69 6e 64 65 | 78 7b 53 61 6c 7a 2c 20 |...\inde|x{Salz, |
|00001be0| 52 69 63 68 7d 0a 5c 69 | 6e 64 65 78 7b 49 4e 4e |Rich}.\i|ndex{INN|
|00001bf0| 7d 0a 54 68 65 72 65 20 | 69 73 20 61 6c 73 6f 20 |}.There |is also |
|00001c00| 61 20 70 61 63 6b 61 67 | 65 20 63 61 6c 6c 65 64 |a packag|e called|
|00001c10| 20 60 60 49 6e 74 65 72 | 4e 65 74 20 4e 65 77 73 | ``Inter|Net News|
|00001c20| 27 27 2c 20 6f 72 20 49 | 4e 4e 20 66 6f 72 20 73 |'', or I|NN for s|
|00001c30| 68 6f 72 74 2c 20 74 68 | 61 74 20 77 61 73 0a 77 |hort, th|at was.w|
|00001c40| 72 69 74 74 65 6e 20 62 | 79 20 52 69 63 68 20 53 |ritten b|y Rich S|
|00001c50| 61 6c 7a 2e 20 20 49 74 | 20 70 72 6f 76 69 64 65 |alz. It| provide|
|00001c60| 73 20 62 6f 74 68 20 4e | 4e 54 50 20 61 6e 64 20 |s both N|NTP and |
|00001c70| 55 55 43 50 2d 62 61 73 | 65 64 20 6e 65 77 73 0a |UUCP-bas|ed news.|
|00001c80| 74 72 61 6e 73 70 6f 72 | 74 2c 20 61 6e 64 20 69 |transpor|t, and i|
|00001c90| 73 20 6d 6f 72 65 20 73 | 75 69 74 61 62 6c 65 20 |s more s|uitable |
|00001ca0| 66 6f 72 20 6c 61 72 67 | 65 20 6e 65 77 73 20 68 |for larg|e news h|
|00001cb0| 75 62 73 2e 20 20 57 68 | 65 6e 20 69 74 20 63 6f |ubs. Wh|en it co|
|00001cc0| 6d 65 73 20 74 6f 0a 6e | 65 77 73 20 74 72 61 6e |mes to.n|ews tran|
|00001cd0| 73 70 6f 72 74 20 6f 76 | 65 72 20 4e 4e 54 50 2c |sport ov|er NNTP,|
|00001ce0| 20 69 74 20 69 73 20 64 | 65 66 69 6e 69 74 65 6c | it is d|efinitel|
|00001cf0| 79 20 62 65 74 74 65 72 | 20 74 68 61 6e 20 5c 70 |y better| than \p|
|00001d00| 72 6f 67 7b 6e 6e 74 70 | 64 7d 2e 0a 49 4e 4e 20 |rog{nntp|d}..INN |
|00001d10| 69 73 20 63 75 72 72 65 | 6e 74 6c 79 20 61 74 20 |is curre|ntly at |
|00001d20| 76 65 72 73 69 6f 6e 20 | 5c 66 69 6c 65 7b 69 6e |version |\file{in|
|00001d30| 6e 2d 31 2e 34 73 65 63 | 7d 2e 20 20 54 68 65 72 |n-1.4sec|}. Ther|
|00001d40| 65 20 69 73 20 61 20 6b | 69 74 20 66 6f 72 0a 62 |e is a k|it for.b|
|00001d50| 75 69 6c 64 69 6e 67 20 | 49 4e 4e 20 6f 6e 20 61 |uilding |INN on a|
|00001d60| 20 5c 6c 69 6e 75 78 7b | 7d 20 6d 61 63 68 69 6e | \linux{|} machin|
|00001d70| 65 20 66 72 6f 6d 20 41 | 72 6a 61 6e 20 64 65 20 |e from A|rjan de |
|00001d80| 56 65 74 3b 20 69 74 20 | 69 73 20 61 76 61 69 6c |Vet; it |is avail|
|00001d90| 61 62 6c 65 0a 66 72 6f | 6d 20 5c 68 6f 73 74 7b |able.fro|m \host{|
|00001da0| 73 75 6e 73 69 74 65 2e | 75 6e 63 2e 65 64 75 7d |sunsite.|unc.edu}|
|00001db0| 20 69 6e 20 74 68 65 20 | 5c 66 69 6c 65 7b 73 79 | in the |\file{sy|
|00001dc0| 73 74 65 6d 2f 4d 61 69 | 6c 7d 20 64 69 72 65 63 |stem/Mai|l} direc|
|00001dd0| 74 6f 72 79 2e 20 20 49 | 66 20 79 6f 75 0a 77 61 |tory. I|f you.wa|
|00001de0| 6e 74 20 74 6f 20 73 65 | 74 20 75 70 20 49 4e 4e |nt to se|t up INN|
|00001df0| 2c 20 70 6c 65 61 73 65 | 20 72 65 66 65 72 20 74 |, please| refer t|
|00001e00| 6f 20 74 68 65 20 64 6f | 63 75 6d 65 6e 74 61 74 |o the do|cumentat|
|00001e10| 69 6f 6e 20 74 68 61 74 | 20 63 6f 6d 65 73 20 61 |ion that| comes a|
|00001e20| 6c 6f 6e 67 0a 77 69 74 | 68 20 74 68 65 20 73 6f |long.wit|h the so|
|00001e30| 75 72 63 65 2c 20 61 73 | 20 77 65 6c 6c 20 61 73 |urce, as| well as|
|00001e40| 20 74 68 65 20 49 4e 4e | 7e 46 41 51 20 70 6f 73 | the INN|~FAQ pos|
|00001e50| 74 65 64 20 72 65 67 75 | 6c 61 72 6c 79 20 74 6f |ted regu|larly to|
|00001e60| 0a 5c 6e 67 72 70 7b 6e | 65 77 73 2e 73 6f 66 74 |.\ngrp{n|ews.soft|
|00001e70| 77 61 72 65 2e 62 7d 2e | 0a 0a 0a 5c 73 65 63 74 |ware.b}.|...\sect|
|00001e80| 69 6f 6e 7b 49 6e 73 74 | 61 6c 6c 69 6e 67 20 74 |ion{Inst|alling t|
|00001e90| 68 65 20 4e 4e 54 50 20 | 73 65 72 76 65 72 7d 0a |he NNTP |server}.|
|00001ea0| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00001eb0| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00001ec0| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00001ed0| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00001ee0| 25 0a 5c 6c 61 62 65 6c | 7b 6e 6e 74 70 2e 6e 6e |%.\label|{nntp.nn|
|00001ef0| 74 70 64 7d 0a 0a 54 68 | 65 20 4e 4e 54 50 20 73 |tpd}..Th|e NNTP s|
|00001f00| 65 72 76 65 72 20 69 73 | 20 63 61 6c 6c 65 64 20 |erver is| called |
|00001f10| 5c 70 72 6f 67 7b 6e 6e | 74 70 64 7d 2c 20 61 6e |\prog{nn|tpd}, an|
|00001f20| 64 20 6d 61 79 20 62 65 | 20 63 6f 6d 70 69 6c 65 |d may be| compile|
|00001f30| 64 20 69 6e 20 74 77 6f | 20 77 61 79 73 2c 0a 64 |d in two| ways,.d|
|00001f40| 65 70 65 6e 64 69 6e 67 | 20 6f 6e 20 74 68 65 20 |epending| on the |
|00001f50| 65 78 70 65 63 74 65 64 | 20 6c 6f 61 64 20 6f 6e |expected| load on|
|00001f60| 20 74 68 65 20 6e 65 77 | 73 20 73 79 73 74 65 6d | the new|s system|
|00001f70| 2e 20 20 54 68 65 72 65 | 20 61 72 65 20 6e 6f 20 |. There| are no |
|00001f80| 63 6f 6d 70 69 6c 65 64 | 0a 76 65 72 73 69 6f 6e |compiled|.version|
|00001f90| 73 20 61 76 61 69 6c 61 | 62 6c 65 2c 20 62 65 63 |s availa|ble, bec|
|00001fa0| 61 75 73 65 20 6f 66 20 | 73 6f 6d 65 20 73 69 74 |ause of |some sit|
|00001fb0| 65 2d 73 70 65 63 69 66 | 69 63 20 64 65 66 61 75 |e-specif|ic defau|
|00001fc0| 6c 74 73 20 74 68 61 74 | 20 61 72 65 0a 68 61 72 |lts that| are.har|
|00001fd0| 64 2d 63 6f 64 65 64 20 | 69 6e 74 6f 20 74 68 65 |d-coded |into the|
|00001fe0| 20 65 78 65 63 75 74 61 | 62 6c 65 2e 20 20 41 6c | executa|ble. Al|
|00001ff0| 6c 20 63 6f 6e 66 69 67 | 75 72 61 74 69 6f 6e 20 |l config|uration |
|00002000| 69 73 20 64 6f 6e 65 20 | 74 68 72 6f 75 67 68 0a |is done |through.|
|00002010| 6d 61 63 72 6f 20 64 65 | 66 69 6e 69 6e 65 73 20 |macro de|finines |
|00002020| 69 6e 20 5c 66 69 6c 65 | 7b 63 6f 6d 6d 6f 6e 2f |in \file|{common/|
|00002030| 63 6f 6e 66 2e 68 7d 2e | 0a 0a 0a 5c 70 72 6f 67 |conf.h}.|...\prog|
|00002040| 7b 6e 6e 74 70 64 7d 20 | 6d 61 79 20 62 65 20 63 |{nntpd} |may be c|
|00002050| 6f 6e 66 69 67 75 72 65 | 64 20 61 73 20 65 69 74 |onfigure|d as eit|
|00002060| 68 65 72 20 61 20 73 74 | 61 6e 64 61 6c 6f 6e 65 |her a st|andalone|
|00002070| 20 73 65 72 76 65 72 20 | 74 68 61 74 20 69 73 0a | server |that is.|
|00002080| 73 74 61 72 74 65 64 20 | 61 74 20 73 79 73 74 65 |started |at syste|
|00002090| 6d 20 62 6f 6f 74 20 74 | 69 6d 65 20 66 72 6f 6d |m boot t|ime from|
|000020a0| 20 5c 66 69 6c 65 7b 72 | 63 2e 69 6e 65 74 32 7d | \file{r|c.inet2}|
|000020b0| 2c 20 6f 72 20 61 20 64 | 61 65 6d 6f 6e 20 6d 61 |, or a d|aemon ma|
|000020c0| 6e 61 67 65 64 20 62 79 | 0a 5c 70 72 6f 67 7b 69 |naged by|.\prog{i|
|000020d0| 6e 65 74 64 7d 2e 20 20 | 49 6e 20 74 68 65 20 6c |netd}. |In the l|
|000020e0| 61 74 74 65 72 20 63 61 | 73 65 20 79 6f 75 20 68 |atter ca|se you h|
|000020f0| 61 76 65 20 74 6f 20 68 | 61 76 65 20 74 68 65 20 |ave to h|ave the |
|00002100| 66 6f 6c 6c 6f 77 69 6e | 67 20 65 6e 74 72 79 20 |followin|g entry |
|00002110| 69 6e 0a 5c 66 69 6c 65 | 7b 2f 65 74 63 2f 69 6e |in.\file|{/etc/in|
|00002120| 65 74 64 2e 63 6f 6e 66 | 7d 3a 0a 0a 5c 62 65 67 |etd.conf|}:..\beg|
|00002130| 69 6e 7b 74 73 63 72 65 | 65 6e 7d 0a 5c 62 65 67 |in{tscre|en}.\beg|
|00002140| 69 6e 7b 76 65 72 62 61 | 74 69 6d 7d 0a 6e 6e 74 |in{verba|tim}.nnt|
|00002150| 70 20 20 20 20 73 74 72 | 65 61 6d 20 20 74 63 70 |p str|eam tcp|
|00002160| 20 6e 6f 77 61 69 74 20 | 20 20 20 20 20 6e 65 77 | nowait | new|
|00002170| 73 20 20 20 20 2f 75 73 | 72 2f 65 74 63 2f 69 6e |s /us|r/etc/in|
|00002180| 2e 6e 6e 74 70 64 20 20 | 20 20 6e 6e 74 70 64 0a |.nntpd | nntpd.|
|00002190| 5c 65 6e 64 7b 76 65 72 | 62 61 74 69 6d 7d 0a 5c |\end{ver|batim}.\|
|000021a0| 65 6e 64 7b 74 73 63 72 | 65 65 6e 7d 0a 0a 49 66 |end{tscr|een}..If|
|000021b0| 20 79 6f 75 20 63 6f 6e | 66 69 67 75 72 65 20 5c | you con|figure \|
|000021c0| 70 72 6f 67 7b 6e 6e 74 | 70 64 7d 20 61 73 20 73 |prog{nnt|pd} as s|
|000021d0| 74 61 6e 64 61 6c 6f 6e | 65 2c 20 6d 61 6b 65 20 |tandalon|e, make |
|000021e0| 73 75 72 65 20 74 68 61 | 74 20 61 6e 79 20 73 75 |sure tha|t any su|
|000021f0| 63 68 0a 6c 69 6e 65 20 | 69 6e 20 5c 70 72 6f 67 |ch.line |in \prog|
|00002200| 7b 69 6e 65 74 64 2e 63 | 6f 6e 66 7d 20 69 73 20 |{inetd.c|onf} is |
|00002210| 63 6f 6d 6d 65 6e 74 65 | 64 20 6f 75 74 2e 20 49 |commente|d out. I|
|00002220| 6e 20 65 69 74 68 65 72 | 20 63 61 73 65 2c 20 79 |n either| case, y|
|00002230| 6f 75 20 68 61 76 65 20 | 74 6f 0a 6d 61 6b 65 20 |ou have |to.make |
|00002240| 73 75 72 65 20 74 68 65 | 72 65 27 73 20 74 68 65 |sure the|re's the|
|00002250| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 6c 69 6e 65 20 | followi|ng line |
|00002260| 69 6e 20 5c 66 69 6c 65 | 7b 2f 65 74 63 2f 73 65 |in \file|{/etc/se|
|00002270| 72 76 69 63 65 73 7d 3a | 0a 0a 5c 62 65 67 69 6e |rvices}:|..\begin|
|00002280| 7b 74 73 63 72 65 65 6e | 7d 0a 5c 62 65 67 69 6e |{tscreen|}.\begin|
|00002290| 7b 76 65 72 62 61 74 69 | 6d 7d 0a 6e 6e 74 70 20 |{verbati|m}.nntp |
|000022a0| 20 20 20 31 31 39 2f 74 | 63 70 20 20 20 72 65 61 | 119/t|cp rea|
|000022b0| 64 6e 65 77 73 20 75 6e | 74 70 20 20 20 20 23 20 |dnews un|tp # |
|000022c0| 4e 65 74 77 6f 72 6b 20 | 4e 65 77 73 20 54 72 61 |Network |News Tra|
|000022d0| 6e 73 66 65 72 20 50 72 | 6f 74 6f 63 6f 6c 0a 5c |nsfer Pr|otocol.\|
|000022e0| 65 6e 64 7b 76 65 72 62 | 61 74 69 6d 7d 0a 5c 65 |end{verb|atim}.\e|
|000022f0| 6e 64 7b 74 73 63 72 65 | 65 6e 7d 0a 0a 0a 54 6f |nd{tscre|en}...To|
|00002300| 20 74 65 6d 70 6f 72 61 | 72 69 6c 79 20 73 74 6f | tempora|rily sto|
|00002310| 72 65 20 61 6e 79 20 69 | 6e 63 6f 6d 69 6e 67 20 |re any i|ncoming |
|00002320| 61 72 74 69 63 6c 65 73 | 2c 20 65 74 63 2c 20 5c |articles|, etc, \|
|00002330| 70 72 6f 67 7b 6e 6e 74 | 70 64 7d 20 61 6c 73 6f |prog{nnt|pd} also|
|00002340| 20 6e 65 65 64 73 0a 61 | 20 5c 66 69 6c 65 7b 2e | needs.a| \file{.|
|00002350| 74 6d 70 7d 20 64 69 72 | 65 63 74 6f 72 79 20 69 |tmp} dir|ectory i|
|00002360| 6e 20 79 6f 75 72 20 6e | 65 77 73 20 73 70 6f 6f |n your n|ews spoo|
|00002370| 6c 2e 20 59 6f 75 20 73 | 68 6f 75 6c 64 20 63 72 |l. You s|hould cr|
|00002380| 65 61 74 65 20 69 74 20 | 75 73 69 6e 67 0a 0a 5c |eate it |using..\|
|00002390| 62 65 67 69 6e 7b 74 73 | 63 72 65 65 6e 7d 0a 5c |begin{ts|creen}.\|
|000023a0| 23 20 6d 6b 64 69 72 20 | 5c 6e 65 77 73 73 70 6f |# mkdir |\newsspo|
|000023b0| 6f 6c 2f 2e 74 6d 70 5c | 5c 0a 5c 23 20 63 68 6f |ol/.tmp\|\.\# cho|
|000023c0| 77 6e 20 6e 65 77 73 2e | 6e 65 77 73 20 5c 6e 65 |wn news.|news \ne|
|000023d0| 77 73 73 70 6f 6f 6c 2f | 2e 74 6d 70 0a 5c 65 6e |wsspool/|.tmp.\en|
|000023e0| 64 7b 74 73 63 72 65 65 | 6e 7d 0a 0a 0a 0a 5c 73 |d{tscree|n}....\s|
|000023f0| 65 63 74 69 6f 6e 7b 52 | 65 73 74 72 69 63 74 69 |ection{R|estricti|
|00002400| 6e 67 20 4e 4e 54 50 20 | 41 63 63 65 73 73 7d 0a |ng NNTP |Access}.|
|00002410| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00002420| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00002430| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00002440| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00002450| 25 0a 5c 6c 61 62 65 6c | 7b 6e 6e 74 70 2e 61 63 |%.\label|{nntp.ac|
|00002460| 63 65 73 73 7d 0a 5c 69 | 6e 64 65 78 7b 4e 4e 54 |cess}.\i|ndex{NNT|
|00002470| 50 21 72 65 73 74 72 69 | 63 74 69 6e 67 20 61 63 |P!restri|cting ac|
|00002480| 63 65 73 73 7d 0a 5c 69 | 6e 64 65 78 7b 6e 6e 74 |cess}.\i|ndex{nnt|
|00002490| 70 61 63 63 65 73 73 40 | 5c 66 69 6c 65 7b 6e 6e |paccess@|\file{nn|
|000024a0| 74 70 5c 5f 61 63 63 65 | 73 73 7d 7d 0a 5c 69 6e |tp\_acce|ss}}.\in|
|000024b0| 64 65 78 7b 61 63 63 65 | 73 73 21 4e 4e 54 50 7d |dex{acce|ss!NNTP}|
|000024c0| 0a 0a 41 63 63 65 73 73 | 20 74 6f 20 4e 4e 54 50 |..Access| to NNTP|
|000024d0| 20 72 65 73 6f 75 72 63 | 65 73 20 69 73 20 67 6f | resourc|es is go|
|000024e0| 76 65 72 6e 65 64 20 62 | 79 20 74 68 65 20 66 69 |verned b|y the fi|
|000024f0| 6c 65 20 5c 66 69 6c 65 | 7b 6e 6e 74 70 5c 5f 61 |le \file|{nntp\_a|
|00002500| 63 63 65 73 73 7d 20 69 | 6e 0a 5c 6e 65 77 73 6c |ccess} i|n.\newsl|
|00002510| 69 62 2e 20 4c 69 6e 65 | 73 20 69 6e 20 74 68 65 |ib. Line|s in the|
|00002520| 20 66 69 6c 65 20 64 65 | 73 63 72 69 62 65 20 74 | file de|scribe t|
|00002530| 68 65 20 61 63 63 65 73 | 73 20 72 69 67 68 74 73 |he acces|s rights|
|00002540| 20 67 72 61 6e 74 65 64 | 20 74 6f 0a 66 6f 72 65 | granted| to.fore|
|00002550| 69 67 6e 20 68 6f 73 74 | 73 2e 20 20 45 61 63 68 |ign host|s. Each|
|00002560| 20 6c 69 6e 65 20 68 61 | 73 20 74 68 65 20 66 6f | line ha|s the fo|
|00002570| 6c 6c 6f 77 69 6e 67 20 | 66 6f 72 6d 61 74 3a 0a |llowing |format:.|
|00002580| 0a 5c 62 65 67 69 6e 7b | 74 73 63 72 65 65 6e 7d |.\begin{|tscreen}|
|00002590| 0a 20 7b 5c 73 6c 20 73 | 69 74 65 7d 20 20 20 72 |. {\sl s|ite} r|
|000025a0| 65 61 64 7c 78 66 65 72 | 7c 62 6f 74 68 7c 6e 6f |ead|xfer||both|no|
|000025b0| 20 20 20 20 70 6f 73 74 | 7c 6e 6f 20 20 20 20 20 | post||no |
|000025c0| 20 5b 21 7b 5c 73 6c 20 | 65 78 63 65 70 74 67 72 | [!{\sl |exceptgr|
|000025d0| 6f 75 70 73 7d 5d 0a 5c | 65 6e 64 7b 74 73 63 72 |oups}].\|end{tscr|
|000025e0| 65 65 6e 7d 0a 0a 49 66 | 20 61 20 63 6c 69 65 6e |een}..If| a clien|
|000025f0| 74 20 63 6f 6e 6e 65 63 | 74 73 20 74 6f 20 74 68 |t connec|ts to th|
|00002600| 65 20 4e 4e 54 50 20 70 | 6f 72 74 2c 20 5c 70 72 |e NNTP p|ort, \pr|
|00002610| 6f 67 7b 6e 6e 74 70 64 | 7d 20 61 74 74 65 6d 70 |og{nntpd|} attemp|
|00002620| 74 73 20 74 6f 20 6f 62 | 74 61 69 6e 20 74 68 65 |ts to ob|tain the|
|00002630| 0a 68 6f 73 74 27 73 20 | 66 75 6c 6c 79 20 71 75 |.host's |fully qu|
|00002640| 61 6c 69 66 69 65 64 20 | 64 6f 6d 61 69 6e 20 6e |alified |domain n|
|00002650| 61 6d 65 20 66 72 6f 6d | 20 69 74 73 20 49 50 7e |ame from| its IP~|
|00002660| 61 64 64 72 65 73 73 20 | 62 79 20 72 65 76 65 72 |address |by rever|
|00002670| 73 65 20 6c 6f 6f 6b 75 | 70 2e 0a 54 68 65 20 63 |se looku|p..The c|
|00002680| 6c 69 65 6e 74 27 73 20 | 68 6f 73 74 6e 61 6d 65 |lient's |hostname|
|00002690| 20 61 6e 64 20 49 50 7e | 61 64 64 72 65 73 73 20 | and IP~|address |
|000026a0| 61 72 65 20 63 68 65 63 | 6b 65 64 20 61 67 61 69 |are chec|ked agai|
|000026b0| 6e 73 74 20 74 68 65 20 | 5c 76 61 72 7b 73 69 74 |nst the |\var{sit|
|000026c0| 65 7d 0a 66 69 65 6c 64 | 20 6f 66 20 65 61 63 68 |e}.field| of each|
|000026d0| 20 65 6e 74 72 79 20 69 | 6e 20 74 68 65 20 6f 72 | entry i|n the or|
|000026e0| 64 65 72 20 69 6e 20 77 | 68 69 63 68 20 74 68 65 |der in w|hich the|
|000026f0| 79 20 61 70 70 65 61 72 | 20 69 6e 20 74 68 65 20 |y appear| in the |
|00002700| 66 69 6c 65 2e 0a 4d 61 | 74 63 68 65 73 20 6d 61 |file..Ma|tches ma|
|00002710| 79 20 62 65 20 65 69 74 | 68 65 72 20 70 61 72 74 |y be eit|her part|
|00002720| 69 61 6c 20 6f 72 20 65 | 78 61 63 74 2e 20 49 66 |ial or e|xact. If|
|00002730| 20 61 6e 20 65 6e 74 72 | 79 20 6d 61 74 63 68 65 | an entr|y matche|
|00002740| 73 20 65 78 61 63 74 6c | 79 2c 20 69 74 0a 61 70 |s exactl|y, it.ap|
|00002750| 70 6c 69 65 73 3b 20 69 | 66 20 74 68 65 20 6d 61 |plies; i|f the ma|
|00002760| 74 63 68 20 69 73 20 70 | 61 72 74 69 61 6c 2c 20 |tch is p|artial, |
|00002770| 69 74 20 6f 6e 6c 79 20 | 61 70 70 6c 69 65 73 20 |it only |applies |
|00002780| 69 66 20 74 68 65 72 65 | 20 69 73 20 6e 6f 20 6f |if there| is no o|
|00002790| 74 68 65 72 0a 6d 61 74 | 63 68 20 66 6f 6c 6c 6f |ther.mat|ch follo|
|000027a0| 77 69 6e 67 20 77 68 69 | 63 68 20 69 73 20 61 74 |wing whi|ch is at|
|000027b0| 20 6c 65 61 73 74 20 61 | 73 20 67 6f 6f 64 2e 20 | least a|s good. |
|000027c0| 20 5c 76 61 72 7b 73 69 | 74 65 7d 20 6d 61 79 20 | \var{si|te} may |
|000027d0| 62 65 20 73 70 65 63 69 | 66 69 65 64 0a 69 6e 20 |be speci|fied.in |
|000027e0| 6f 6e 65 20 6f 66 20 74 | 68 65 20 66 6f 6c 6c 6f |one of t|he follo|
|000027f0| 77 69 6e 67 20 77 61 79 | 73 3a 0a 0a 5c 62 65 67 |wing way|s:..\beg|
|00002800| 69 6e 7b 64 69 73 70 69 | 74 65 6d 73 7d 0a 5c 64 |in{dispi|tems}.\d|
|00002810| 69 74 65 6d 5b 5c 76 61 | 72 7b 68 6f 73 74 6e 61 |item[\va|r{hostna|
|00002820| 6d 65 7d 5d 0a 20 20 20 | 20 20 20 20 20 54 68 69 |me}]. | Thi|
|00002830| 73 20 69 73 20 61 20 66 | 75 6c 6c 79 20 71 75 61 |s is a f|ully qua|
|00002840| 6c 69 66 69 65 64 20 64 | 6f 6d 61 69 6e 20 6e 61 |lified d|omain na|
|00002850| 6d 65 20 6f 66 20 61 20 | 68 6f 73 74 2e 20 49 66 |me of a |host. If|
|00002860| 20 74 68 69 73 20 6d 61 | 74 63 68 65 73 0a 20 20 | this ma|tches. |
|00002870| 20 20 20 20 20 20 74 68 | 65 20 63 6c 69 65 6e 74 | th|e client|
|00002880| 27 73 20 63 61 6e 6f 6e | 69 63 61 6c 20 68 6f 73 |'s canon|ical hos|
|00002890| 74 6e 61 6d 65 20 6c 69 | 74 65 72 61 6c 6c 79 2c |tname li|terally,|
|000028a0| 20 74 68 65 20 65 6e 74 | 72 79 20 61 70 70 6c 69 | the ent|ry appli|
|000028b0| 65 73 2c 0a 20 20 20 20 | 20 20 20 20 61 6e 64 20 |es,. | and |
|000028c0| 61 6c 6c 20 66 6f 6c 6c | 6f 77 69 6e 67 20 65 6e |all foll|owing en|
|000028d0| 74 72 69 65 73 20 61 72 | 65 20 69 67 6e 6f 72 65 |tries ar|e ignore|
|000028e0| 64 2e 0a 0a 5c 64 69 74 | 65 6d 5b 5c 76 61 72 7b |d...\dit|em[\var{|
|000028f0| 49 50 20 61 64 64 72 65 | 73 73 7d 5d 0a 20 20 20 |IP addre|ss}]. |
|00002900| 20 20 20 20 20 54 68 69 | 73 20 69 73 20 61 6e 20 | Thi|s is an |
|00002910| 49 50 7e 61 64 64 72 65 | 73 73 20 69 6e 20 64 6f |IP~addre|ss in do|
|00002920| 74 74 65 64 20 71 75 61 | 64 20 6e 6f 74 61 74 69 |tted qua|d notati|
|00002930| 6f 6e 2e 20 20 49 66 20 | 74 68 65 20 63 6c 69 65 |on. If |the clie|
|00002940| 6e 74 27 73 0a 20 20 20 | 20 20 20 20 20 49 50 7e |nt's. | IP~|
|00002950| 61 64 64 72 65 73 73 20 | 6d 61 74 63 68 65 73 20 |address |matches |
|00002960| 74 68 69 73 2c 20 74 68 | 65 20 65 6e 74 72 79 20 |this, th|e entry |
|00002970| 61 70 70 6c 69 65 73 2c | 20 61 6e 64 20 61 6c 6c |applies,| and all|
|00002980| 20 66 6f 6c 6c 6f 77 69 | 6e 67 0a 20 20 20 20 20 | followi|ng. |
|00002990| 20 20 20 65 6e 74 72 69 | 65 73 20 61 72 65 20 69 | entri|es are i|
|000029a0| 67 6e 6f 72 65 64 2e 0a | 0a 5c 64 69 74 65 6d 5b |gnored..|.\ditem[|
|000029b0| 5c 76 61 72 7b 64 6f 6d | 61 69 6e 20 6e 61 6d 65 |\var{dom|ain name|
|000029c0| 7d 5d 0a 20 20 20 20 20 | 20 20 20 54 68 69 73 20 |}]. | This |
|000029d0| 69 73 20 61 20 64 6f 6d | 61 69 6e 20 6e 61 6d 65 |is a dom|ain name|
|000029e0| 2c 20 73 70 65 63 69 66 | 69 65 64 20 61 73 20 5c |, specif|ied as \|
|000029f0| 68 6f 73 74 7b 2a 2e 7d | 5c 76 61 72 7b 64 6f 6d |host{*.}|\var{dom|
|00002a00| 61 69 6e 7d 2e 20 49 66 | 0a 20 20 20 20 20 20 20 |ain}. If|. |
|00002a10| 20 74 68 65 20 63 6c 69 | 65 6e 74 27 73 20 68 6f | the cli|ent's ho|
|00002a20| 73 74 6e 61 6d 65 20 6d | 61 74 63 68 65 73 20 74 |stname m|atches t|
|00002a30| 68 65 20 64 6f 6d 61 69 | 6e 20 6e 61 6d 65 2c 20 |he domai|n name, |
|00002a40| 74 68 65 20 65 6e 74 72 | 79 0a 20 20 20 20 20 20 |the entr|y. |
|00002a50| 20 20 6d 61 74 63 68 65 | 73 2e 0a 0a 5c 64 69 74 | matche|s...\dit|
|00002a60| 65 6d 5b 5c 76 61 72 7b | 6e 65 74 77 6f 72 6b 20 |em[\var{|network |
|00002a70| 6e 61 6d 65 7d 5d 0a 20 | 20 20 20 20 20 20 20 54 |name}]. | T|
|00002a80| 68 69 73 20 69 73 20 74 | 68 65 20 6e 61 6d 65 20 |his is t|he name |
|00002a90| 6f 66 20 61 20 6e 65 74 | 77 6f 72 6b 20 61 73 20 |of a net|work as |
|00002aa0| 73 70 65 63 69 66 69 65 | 64 20 69 6e 0a 20 20 20 |specifie|d in. |
|00002ab0| 20 20 20 20 20 5c 66 69 | 6c 65 7b 2f 65 74 63 2f | \fi|le{/etc/|
|00002ac0| 6e 65 74 77 6f 72 6b 73 | 7d 2e 20 20 49 66 20 74 |networks|}. If t|
|00002ad0| 68 65 20 6e 65 74 77 6f | 72 6b 20 6e 75 6d 62 65 |he netwo|rk numbe|
|00002ae0| 72 20 6f 66 20 74 68 65 | 20 63 6c 69 65 6e 74 27 |r of the| client'|
|00002af0| 73 0a 20 20 20 20 20 20 | 20 20 49 50 7e 61 64 64 |s. | IP~add|
|00002b00| 72 65 73 73 20 6d 61 74 | 63 68 65 73 20 74 68 65 |ress mat|ches the|
|00002b10| 20 6e 65 74 77 6f 72 6b | 20 6e 75 6d 62 65 72 20 | network| number |
|00002b20| 61 73 73 6f 63 69 61 74 | 65 64 20 77 69 74 68 20 |associat|ed with |
|00002b30| 74 68 65 0a 20 20 20 20 | 20 20 20 20 6e 65 74 77 |the. | netw|
|00002b40| 6f 72 6b 20 6e 61 6d 65 | 2c 20 74 68 65 20 65 6e |ork name|, the en|
|00002b50| 74 72 79 20 6d 61 74 63 | 68 65 73 2e 0a 0a 25 5c |try matc|hes...%\|
|00002b60| 64 69 74 65 6d 5b 5c 76 | 61 72 7b 73 75 62 6e 65 |ditem[\v|ar{subne|
|00002b70| 74 20 6e 61 6d 65 7d 5d | 0a 25 20 20 20 20 20 20 |t name}]|.% |
|00002b80| 20 20 54 68 69 73 20 69 | 73 20 74 68 65 20 6e 61 | This i|s the na|
|00002b90| 6d 65 20 6f 66 20 61 20 | 73 75 62 6e 65 74 20 6f |me of a |subnet o|
|00002ba0| 66 20 74 68 65 20 6c 6f | 63 61 6c 20 6e 65 74 77 |f the lo|cal netw|
|00002bb0| 6f 72 6b 20 61 73 20 73 | 70 65 63 69 66 69 65 64 |ork as s|pecified|
|00002bc0| 20 69 6e 0a 25 20 20 20 | 20 20 20 20 20 74 68 65 | in.% | the|
|00002bd0| 20 5c 66 69 6c 65 7b 2f | 65 74 63 2f 6e 65 74 77 | \file{/|etc/netw|
|00002be0| 6f 72 6b 73 7d 20 66 69 | 6c 65 2e 20 54 68 65 20 |orks} fi|le. The |
|00002bf0| 73 75 62 6e 65 74 20 6d | 61 73 6b 20 69 73 20 6f |subnet m|ask is o|
|00002c00| 62 74 61 69 6e 65 64 20 | 62 79 20 71 75 65 72 79 |btained |by query|
|00002c10| 69 6e 67 0a 25 20 20 20 | 20 20 20 20 20 74 68 65 |ing.% | the|
|00002c20| 20 6e 65 74 77 6f 72 6b | 20 69 6e 74 65 72 66 61 | network| interfa|
|00002c30| 63 65 73 2e 0a 25 20 20 | 20 20 20 20 20 20 54 68 |ces..% | Th|
|00002c40| 69 73 20 6f 70 74 69 6f | 6e 20 69 73 20 6f 6e 6c |is optio|n is onl|
|00002c50| 79 20 65 6e 61 62 6c 65 | 64 20 69 66 20 7b 5c 74 |y enable|d if {\t|
|00002c60| 74 20 2d 44 53 55 42 4e | 45 54 7d 20 68 61 73 20 |t -DSUBN|ET} has |
|00002c70| 62 65 65 6e 20 64 65 66 | 69 6e 65 64 20 61 73 0a |been def|ined as.|
|00002c80| 25 20 20 20 20 20 20 20 | 20 63 6f 6d 70 69 6c 65 |% | compile|
|00002c90| 2d 74 69 6d 65 20 6f 70 | 74 69 6f 6e 2e 0a 25 0a |-time op|tion..%.|
|00002ca0| 25 20 20 20 20 20 20 20 | 20 49 66 20 74 68 65 20 |% | If the |
|00002cb0| 6e 65 74 77 6f 72 6b 20 | 6e 75 6d 62 65 72 20 6f |network |number o|
|00002cc0| 66 20 74 68 65 20 63 6c | 69 65 6e 74 27 73 20 49 |f the cl|ient's I|
|00002cd0| 50 7e 61 64 64 72 65 73 | 73 20 6d 61 74 63 68 65 |P~addres|s matche|
|00002ce0| 73 20 74 68 65 0a 25 20 | 20 20 20 20 20 20 20 6e |s the.% | n|
|00002cf0| 65 74 77 6f 72 6b 20 6e | 75 6d 62 65 72 20 61 73 |etwork n|umber as|
|00002d00| 73 6f 63 69 61 74 65 64 | 20 77 69 74 68 20 74 68 |sociated| with th|
|00002d10| 65 20 6e 65 74 77 6f 72 | 6b 20 6e 61 6d 65 2c 20 |e networ|k name, |
|00002d20| 74 68 65 20 65 6e 74 72 | 79 20 6d 61 74 63 68 65 |the entr|y matche|
|00002d30| 73 2e 0a 0a 5c 64 69 74 | 65 6d 5b 5c 6b 65 79 77 |s...\dit|em[\keyw|
|00002d40| 6f 72 64 7b 64 65 66 61 | 75 6c 74 7d 5d 0a 20 20 |ord{defa|ult}]. |
|00002d50| 20 20 20 20 20 20 54 68 | 65 20 5c 6b 65 79 77 6f | Th|e \keywo|
|00002d60| 72 64 7b 64 65 66 61 75 | 6c 74 7d 20 6d 61 74 63 |rd{defau|lt} matc|
|00002d70| 68 65 73 20 61 6e 79 20 | 63 6c 69 65 6e 74 2e 0a |hes any |client..|
|00002d80| 0a 5c 65 6e 64 7b 64 69 | 73 70 69 74 65 6d 73 7d |.\end{di|spitems}|
|00002d90| 0a 0a 45 6e 74 72 69 65 | 73 20 77 69 74 68 20 61 |..Entrie|s with a|
|00002da0| 20 6d 6f 72 65 20 67 65 | 6e 65 72 61 6c 20 73 69 | more ge|neral si|
|00002db0| 74 65 20 73 70 65 63 69 | 66 69 63 61 74 69 6f 6e |te speci|fication|
|00002dc0| 20 73 68 6f 75 6c 64 20 | 62 65 20 73 70 65 63 69 | should |be speci|
|00002dd0| 66 69 65 64 20 65 61 72 | 6c 69 65 72 2c 0a 62 65 |fied ear|lier,.be|
|00002de0| 63 61 75 73 65 20 61 6e | 79 20 6d 61 74 63 68 65 |cause an|y matche|
|00002df0| 73 20 62 79 20 74 68 65 | 73 65 20 77 69 6c 6c 20 |s by the|se will |
|00002e00| 62 65 20 6f 76 65 72 72 | 69 64 64 65 6e 20 62 79 |be overr|idden by|
|00002e10| 20 6c 61 74 65 72 2c 20 | 6d 6f 72 65 20 65 78 61 | later, |more exa|
|00002e20| 63 74 0a 6d 61 74 63 68 | 65 73 2e 0a 0a 0a 54 68 |ct.match|es....Th|
|00002e30| 65 20 73 65 63 6f 6e 64 | 20 61 6e 64 20 74 68 69 |e second| and thi|
|00002e40| 72 64 20 66 69 65 6c 64 | 20 64 65 73 63 72 69 62 |rd field| describ|
|00002e50| 65 20 74 68 65 20 61 63 | 63 65 73 73 20 72 69 67 |e the ac|cess rig|
|00002e60| 68 74 73 20 67 72 61 6e | 74 65 64 20 74 6f 20 74 |hts gran|ted to t|
|00002e70| 68 65 0a 63 6c 69 65 6e | 74 2e 20 54 68 65 20 73 |he.clien|t. The s|
|00002e80| 65 63 6f 6e 64 20 64 65 | 74 61 69 6c 73 20 74 68 |econd de|tails th|
|00002e90| 65 20 70 65 72 6d 69 73 | 73 69 6f 6e 73 20 74 6f |e permis|sions to|
|00002ea0| 20 72 65 74 72 69 65 76 | 65 20 6e 65 77 73 20 62 | retriev|e news b|
|00002eb0| 79 20 70 75 6c 6c 69 6e | 67 0a 28 5c 6b 65 79 77 |y pullin|g.(\keyw|
|00002ec0| 6f 72 64 7b 72 65 61 64 | 7d 29 2c 20 61 6e 64 20 |ord{read|}), and |
|00002ed0| 74 72 61 6e 73 6d 69 74 | 20 6e 65 77 73 20 62 79 |transmit| news by|
|00002ee0| 20 70 75 73 68 69 6e 67 | 20 28 5c 6b 65 79 77 6f | pushing| (\keywo|
|00002ef0| 72 64 7b 78 66 65 72 7d | 29 2e 20 20 41 0a 76 61 |rd{xfer}|). A.va|
|00002f00| 6c 75 65 20 6f 66 20 5c | 6b 65 79 77 6f 72 64 7b |lue of \|keyword{|
|00002f10| 62 6f 74 68 7d 20 65 6e | 61 62 6c 65 73 20 62 6f |both} en|ables bo|
|00002f20| 74 68 2c 20 5c 6b 65 79 | 77 6f 72 64 7b 6e 6f 7d |th, \key|word{no}|
|00002f30| 20 64 65 6e 69 65 73 20 | 61 63 63 65 73 73 0a 61 | denies |access.a|
|00002f40| 6c 74 6f 67 65 74 68 65 | 72 2e 20 54 68 65 20 74 |ltogethe|r. The t|
|00002f50| 68 69 72 64 20 66 69 65 | 6c 64 20 67 72 61 6e 74 |hird fie|ld grant|
|00002f60| 73 20 74 68 65 20 63 6c | 69 65 6e 74 20 74 68 65 |s the cl|ient the|
|00002f70| 20 72 69 67 68 74 20 74 | 6f 20 70 6f 73 74 0a 61 | right t|o post.a|
|00002f80| 72 74 69 63 6c 65 73 2c | 20 74 68 61 74 20 69 73 |rticles,| that is|
|00002f90| 2c 20 64 65 6c 69 76 65 | 72 20 61 72 74 69 63 6c |, delive|r articl|
|00002fa0| 65 73 20 77 69 74 68 20 | 69 6e 63 6f 6d 70 6c 65 |es with |incomple|
|00002fb0| 74 65 20 68 65 61 64 65 | 72 20 69 6e 66 6f 72 6d |te heade|r inform|
|00002fc0| 61 74 69 6f 6e 0a 77 68 | 69 63 68 20 69 73 20 63 |ation.wh|ich is c|
|00002fd0| 6f 6d 70 6c 65 74 65 64 | 20 62 79 20 74 68 65 20 |ompleted| by the |
|00002fe0| 6e 65 77 73 20 73 6f 66 | 74 77 61 72 65 2e 20 20 |news sof|tware. |
|00002ff0| 49 66 20 74 68 65 20 73 | 65 63 6f 6e 64 20 66 69 |If the s|econd fi|
|00003000| 65 6c 64 20 63 6f 6e 74 | 61 69 6e 73 0a 5c 6b 65 |eld cont|ains.\ke|
|00003010| 79 77 6f 72 64 7b 6e 6f | 7d 2c 20 74 68 65 20 74 |yword{no|}, the t|
|00003020| 68 69 72 64 20 66 69 65 | 6c 64 20 69 73 20 69 67 |hird fie|ld is ig|
|00003030| 6e 6f 72 65 64 2e 0a 0a | 0a 54 68 65 20 66 6f 75 |nored...|.The fou|
|00003040| 72 74 68 20 66 69 65 6c | 64 20 69 73 20 6f 70 74 |rth fiel|d is opt|
|00003050| 69 6f 6e 61 6c 2c 20 61 | 6e 64 20 63 6f 6e 74 61 |ional, a|nd conta|
|00003060| 69 6e 73 20 61 20 63 6f | 6d 6d 61 2d 73 65 70 61 |ins a co|mma-sepa|
|00003070| 72 61 74 65 64 20 6c 69 | 73 74 20 6f 66 0a 67 72 |rated li|st of.gr|
|00003080| 6f 75 70 73 20 74 68 65 | 20 63 6c 69 65 6e 74 20 |oups the| client |
|00003090| 69 73 20 64 65 6e 69 65 | 64 20 61 63 63 65 73 73 |is denie|d access|
|000030a0| 20 74 6f 2e 0a 0a 41 20 | 73 61 6d 70 6c 65 20 5c | to...A |sample \|
|000030b0| 66 69 6c 65 7b 6e 6e 74 | 70 5c 5f 61 63 63 65 73 |file{nnt|p\_acces|
|000030c0| 73 7d 20 66 69 6c 65 20 | 69 73 20 73 68 6f 77 6e |s} file |is shown|
|000030d0| 20 62 65 6c 6f 77 3a 0a | 0a 5c 62 65 67 69 6e 7b | below:.|.\begin{|
|000030e0| 74 73 63 72 65 65 6e 7d | 0a 5c 62 65 67 69 6e 7b |tscreen}|.\begin{|
|000030f0| 76 65 72 62 61 74 69 6d | 7d 0a 23 0a 23 20 62 79 |verbatim|}.#.# by|
|00003100| 20 64 65 66 61 75 6c 74 | 2c 20 61 6e 79 6f 6e 65 | default|, anyone|
|00003110| 20 6d 61 79 20 74 72 61 | 6e 73 66 65 72 20 6e 65 | may tra|nsfer ne|
|00003120| 77 73 2c 20 62 75 74 20 | 6e 6f 74 20 72 65 61 64 |ws, but |not read|
|00003130| 20 6f 72 20 70 6f 73 74 | 0a 64 65 66 61 75 6c 74 | or post|.default|
|00003140| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003150| 20 78 66 65 72 20 20 20 | 20 20 20 20 20 20 20 20 | xfer | |
|00003160| 20 6e 6f 0a 23 0a 23 20 | 70 75 62 6c 69 63 2e 76 | no.#.# |public.v|
|00003170| 62 72 65 77 2e 63 6f 6d | 20 6f 66 66 65 72 73 20 |brew.com| offers |
|00003180| 70 75 62 6c 69 63 20 61 | 63 63 65 73 73 20 76 69 |public a|ccess vi|
|00003190| 61 20 6d 6f 64 65 6d 2c | 20 77 65 20 61 6c 6c 6f |a modem,| we allo|
|000031a0| 77 0a 23 20 74 68 65 6d | 20 74 6f 20 72 65 61 64 |w.# them| to read|
|000031b0| 20 61 6e 64 20 70 6f 73 | 74 20 74 6f 20 61 6e 79 | and pos|t to any|
|000031c0| 20 62 75 74 20 74 68 65 | 20 6c 6f 63 61 6c 2e 2a | but the| local.*|
|000031d0| 20 67 72 6f 75 70 73 0a | 70 75 62 6c 69 63 2e 76 | groups.|public.v|
|000031e0| 62 72 65 77 2e 63 6f 6d | 20 20 20 20 20 20 20 20 |brew.com| |
|000031f0| 72 65 61 64 20 20 20 20 | 20 20 20 20 20 20 20 20 |read | |
|00003200| 70 6f 73 74 20 20 20 20 | 21 6c 6f 63 61 6c 0a 23 |post |!local.#|
|00003210| 0a 23 20 61 6c 6c 20 6f | 74 68 65 72 20 68 6f 73 |.# all o|ther hos|
|00003220| 74 73 20 61 74 20 74 68 | 65 20 62 72 65 77 65 72 |ts at th|e brewer|
|00003230| 79 20 6d 61 79 20 72 65 | 61 64 20 61 6e 64 20 70 |y may re|ad and p|
|00003240| 6f 73 74 0a 2a 2e 76 62 | 72 65 77 2e 63 6f 6d 20 |ost.*.vb|rew.com |
|00003250| 20 20 20 20 20 20 20 20 | 20 20 20 20 72 65 61 64 | | read|
|00003260| 20 20 20 20 20 20 20 20 | 20 20 20 20 70 6f 73 74 | | post|
|00003270| 0a 5c 65 6e 64 7b 76 65 | 72 62 61 74 69 6d 7d 0a |.\end{ve|rbatim}.|
|00003280| 5c 65 6e 64 7b 74 73 63 | 72 65 65 6e 7d 0a 0a 0a |\end{tsc|reen}...|
|00003290| 5c 73 65 63 74 69 6f 6e | 7b 4e 4e 54 50 20 41 75 |\section|{NNTP Au|
|000032a0| 74 68 6f 72 69 7a 61 74 | 69 6f 6e 7d 0a 25 25 25 |thorizat|ion}.%%%|
|000032b0| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|000032c0| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|000032d0| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|000032e0| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 0a 5c |%%%%%%%%|%%%%%%.\|
|000032f0| 6c 61 62 65 6c 7b 6e 6e | 74 70 2e 61 75 74 68 6f |label{nn|tp.autho|
|00003300| 72 69 7a 65 7d 0a 5c 69 | 6e 64 65 78 7b 4e 4e 54 |rize}.\i|ndex{NNT|
|00003310| 50 21 61 75 74 68 6f 72 | 69 7a 61 74 69 6f 6e 7d |P!author|ization}|
|00003320| 0a 5c 69 6e 64 65 78 7b | 4e 4e 54 50 21 72 65 73 |.\index{|NNTP!res|
|00003330| 74 72 69 63 74 69 6e 67 | 20 61 63 63 65 73 73 7d |tricting| access}|
|00003340| 0a 5c 69 6e 64 65 78 7b | 61 63 63 65 73 73 21 4e |.\index{|access!N|
|00003350| 4e 54 50 7d 0a 5c 69 6e | 64 65 78 7b 61 75 74 68 |NTP}.\in|dex{auth|
|00003360| 6f 72 69 7a 61 74 69 6f | 6e 21 77 69 74 68 20 4e |orizatio|n!with N|
|00003370| 4e 54 50 7d 0a 0a 57 68 | 65 6e 20 63 61 70 69 74 |NTP}..Wh|en capit|
|00003380| 61 6c 69 7a 69 6e 67 20 | 74 68 65 20 61 63 63 65 |alizing |the acce|
|00003390| 73 73 20 74 6f 6b 65 6e | 73 20 6c 69 6b 65 20 5c |ss token|s like \|
|000033a0| 6b 65 79 77 6f 72 64 7b | 78 66 65 72 7d 20 6f 72 |keyword{|xfer} or|
|000033b0| 0a 5c 6b 65 79 77 6f 72 | 64 7b 72 65 61 64 7d 20 |.\keywor|d{read} |
|000033c0| 69 6e 20 74 68 65 20 5c | 66 69 6c 65 7b 6e 6e 74 |in the \|file{nnt|
|000033d0| 70 5c 5f 61 63 63 65 73 | 7d 20 66 69 6c 65 2c 20 |p\_acces|} file, |
|000033e0| 5c 70 72 6f 67 7b 6e 6e | 74 70 64 7d 20 72 65 71 |\prog{nn|tpd} req|
|000033f0| 75 69 72 65 73 20 74 68 | 65 0a 61 75 74 68 6f 72 |uires th|e.author|
|00003400| 69 7a 61 74 69 6f 6e 20 | 66 72 6f 6d 20 74 68 65 |ization |from the|
|00003410| 20 63 6c 69 65 6e 74 20 | 66 6f 72 20 74 68 65 20 | client |for the |
|00003420| 72 65 73 70 65 63 74 69 | 76 65 20 6f 70 65 72 61 |respecti|ve opera|
|00003430| 74 69 6f 6e 73 2e 20 46 | 6f 72 0a 69 6e 73 74 61 |tions. F|or.insta|
|00003440| 6e 63 65 2c 20 77 68 65 | 6e 20 73 70 65 63 69 66 |nce, whe|n specif|
|00003450| 79 69 6e 67 20 61 20 70 | 65 72 6d 69 73 73 69 6f |ying a p|ermissio|
|00003460| 6e 20 6f 66 20 5c 6b 65 | 79 77 6f 72 64 7b 58 66 |n of \ke|yword{Xf|
|00003470| 65 72 7d 20 6f 72 0a 5c | 6b 65 79 77 6f 72 64 7b |er} or.\|keyword{|
|00003480| 58 46 45 52 7d 2c 20 5c | 70 72 6f 67 7b 6e 6e 74 |XFER}, \|prog{nnt|
|00003490| 70 64 7d 20 77 69 6c 6c | 20 6e 6f 74 20 6c 65 74 |pd} will| not let|
|000034a0| 20 74 68 65 20 63 6c 69 | 65 6e 74 20 74 72 61 6e | the cli|ent tran|
|000034b0| 73 66 65 72 20 61 72 74 | 69 63 6c 65 73 0a 74 6f |sfer art|icles.to|
|000034c0| 20 79 6f 75 72 20 73 69 | 74 65 20 75 6e 6c 65 73 | your si|te unles|
|000034d0| 73 20 69 74 20 70 61 73 | 73 65 73 20 61 75 74 68 |s it pas|ses auth|
|000034e0| 6f 72 69 7a 61 74 69 6f | 6e 2e 0a 0a 0a 54 68 65 |orizatio|n....The|
|000034f0| 20 61 75 74 68 6f 72 69 | 7a 61 74 69 6f 6e 20 70 | authori|zation p|
|00003500| 72 6f 63 65 64 75 72 65 | 20 69 73 20 69 6d 70 6c |rocedure| is impl|
|00003510| 65 6d 65 6e 74 65 64 20 | 62 79 20 6d 65 61 6e 73 |emented |by means|
|00003520| 20 6f 66 20 61 20 6e 65 | 77 20 4e 4e 54 50 0a 63 | of a ne|w NNTP.c|
|00003530| 6f 6d 6d 61 6e 64 20 6e | 61 6d 65 64 20 5c 6b 65 |ommand n|amed \ke|
|00003540| 79 77 6f 72 64 7b 41 55 | 54 48 49 4e 46 4f 7d 2e |yword{AU|THINFO}.|
|00003550| 20 55 73 69 6e 67 20 74 | 68 69 73 20 63 6f 6d 6d | Using t|his comm|
|00003560| 61 6e 64 2c 20 74 68 65 | 20 63 6c 69 65 6e 74 0a |and, the| client.|
|00003570| 74 72 61 6e 73 6d 69 74 | 73 20 61 20 75 73 65 72 |transmit|s a user|
|00003580| 20 6e 61 6d 65 20 61 6e | 64 20 61 20 70 61 73 73 | name an|d a pass|
|00003590| 77 6f 72 64 20 74 6f 20 | 74 68 65 20 4e 4e 54 50 |word to |the NNTP|
|000035a0| 20 73 65 72 76 65 72 2e | 20 20 5c 70 72 6f 67 7b | server.| \prog{|
|000035b0| 6e 6e 74 70 64 7d 0a 77 | 69 6c 6c 20 76 61 6c 69 |nntpd}.w|ill vali|
|000035c0| 64 61 74 65 20 74 68 65 | 6d 20 62 79 20 63 68 65 |date the|m by che|
|000035d0| 63 6b 69 6e 67 20 74 68 | 65 6d 20 61 67 61 69 6e |cking th|em again|
|000035e0| 73 74 20 74 68 65 20 5c | 66 69 6c 65 7b 2f 65 74 |st the \|file{/et|
|000035f0| 63 2f 70 61 73 73 77 64 | 7d 0a 64 61 74 61 62 61 |c/passwd|}.databa|
|00003600| 73 65 2c 20 61 6e 64 20 | 76 65 72 69 66 79 20 74 |se, and |verify t|
|00003610| 68 61 74 20 74 68 65 20 | 75 73 65 72 20 62 65 6c |hat the |user bel|
|00003620| 6f 6e 67 73 20 74 6f 20 | 74 68 65 20 5c 75 73 65 |ongs to |the \use|
|00003630| 72 7b 6e 6e 74 70 7d 20 | 67 72 6f 75 70 2e 0a 0a |r{nntp} |group...|
|00003640| 0a 54 68 65 20 63 75 72 | 72 65 6e 74 20 69 6d 70 |.The cur|rent imp|
|00003650| 6c 65 6d 65 6e 74 61 74 | 69 6f 6e 20 6f 66 20 4e |lementat|ion of N|
|00003660| 4e 54 50 20 61 75 74 68 | 6f 72 69 7a 61 74 69 6f |NTP auth|orizatio|
|00003670| 6e 20 69 73 20 6f 6e 6c | 79 20 65 78 70 65 72 69 |n is onl|y experi|
|00003680| 6d 65 6e 74 61 6c 2c 0a | 61 6e 64 20 68 61 73 20 |mental,.|and has |
|00003690| 74 68 65 72 65 66 6f 72 | 65 20 6e 6f 74 20 62 65 |therefor|e not be|
|000036a0| 65 6e 20 69 6d 70 6c 65 | 6d 65 6e 74 65 64 20 76 |en imple|mented v|
|000036b0| 65 72 79 20 70 6f 72 74 | 61 62 6c 79 2e 20 20 54 |ery port|ably. T|
|000036c0| 68 65 20 72 65 73 75 6c | 74 20 6f 66 0a 74 68 69 |he resul|t of.thi|
|000036d0| 73 20 69 73 20 74 68 61 | 74 20 69 74 20 77 6f 72 |s is tha|t it wor|
|000036e0| 6b 73 20 6f 6e 6c 79 20 | 77 69 74 68 20 70 6c 61 |ks only |with pla|
|000036f0| 69 6e 2d 73 74 79 6c 65 | 20 70 61 73 73 77 6f 72 |in-style| passwor|
|00003700| 64 20 64 61 74 61 62 61 | 73 65 73 3b 20 73 68 61 |d databa|ses; sha|
|00003710| 64 6f 77 0a 70 61 73 73 | 77 6f 72 64 73 20 77 69 |dow.pass|words wi|
|00003720| 6c 6c 20 6e 6f 74 20 62 | 65 20 72 65 63 6f 67 6e |ll not b|e recogn|
|00003730| 69 7a 65 64 2e 0a 0a 0a | 0a 5c 73 65 63 74 69 6f |ized....|.\sectio|
|00003740| 6e 7b 5c 70 72 6f 67 7b | 6e 6e 74 70 64 7d 20 49 |n{\prog{|nntpd} I|
|00003750| 6e 74 65 72 61 63 74 69 | 6f 6e 20 77 69 74 68 20 |nteracti|on with |
|00003760| 43 7e 4e 65 77 73 7d 0a | 25 25 25 25 25 25 25 25 |C~News}.|%%%%%%%%|
|00003770| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00003780| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00003790| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|000037a0| 25 25 25 25 25 25 25 25 | 25 0a 5c 6c 61 62 65 6c |%%%%%%%%|%.\label|
|000037b0| 7b 6e 6e 74 70 2e 69 6e | 74 65 72 61 63 74 7d 0a |{nntp.in|teract}.|
|000037c0| 5c 69 6e 64 65 78 7b 43 | 20 4e 65 77 73 21 4e 4e |\index{C| News!NN|
|000037d0| 54 50 20 73 75 70 70 6f | 72 74 7d 0a 5c 69 6e 64 |TP suppo|rt}.\ind|
|000037e0| 65 78 7b 4e 4e 54 50 21 | 61 6e 64 20 43 20 4e 65 |ex{NNTP!|and C Ne|
|000037f0| 77 73 7d 0a 0a 57 68 65 | 6e 20 72 65 63 65 69 76 |ws}..Whe|n receiv|
|00003800| 69 6e 67 20 61 6e 20 61 | 72 74 69 63 6c 65 2c 20 |ing an a|rticle, |
|00003810| 5c 70 72 6f 67 7b 6e 6e | 74 70 64 7d 20 68 61 73 |\prog{nn|tpd} has|
|00003820| 20 74 6f 20 64 65 6c 69 | 76 65 72 20 69 74 20 74 | to deli|ver it t|
|00003830| 6f 20 74 68 65 20 6e 65 | 77 73 0a 73 75 62 73 79 |o the ne|ws.subsy|
|00003840| 73 74 65 6d 2e 20 44 65 | 70 65 6e 64 69 6e 67 20 |stem. De|pending |
|00003850| 6f 6e 20 77 68 65 74 68 | 65 72 20 69 74 20 77 61 |on wheth|er it wa|
|00003860| 73 20 72 65 63 65 69 76 | 65 64 20 61 73 20 61 20 |s receiv|ed as a |
|00003870| 72 65 73 75 6c 74 20 6f | 66 20 61 6e 0a 5c 6b 65 |result o|f an.\ke|
|00003880| 79 77 6f 72 64 7b 49 48 | 41 56 45 7d 20 6f 72 20 |yword{IH|AVE} or |
|00003890| 5c 6b 65 79 77 6f 72 64 | 7b 50 4f 53 54 7d 20 63 |\keyword|{POST} c|
|000038a0| 6f 6d 6d 61 6e 64 2c 20 | 74 68 65 20 61 72 74 69 |ommand, |the arti|
|000038b0| 63 6c 65 20 69 73 20 68 | 61 6e 64 65 64 20 74 6f |cle is h|anded to|
|000038c0| 0a 5c 70 72 6f 67 7b 72 | 6e 65 77 73 7d 20 6f 72 |.\prog{r|news} or|
|000038d0| 20 5c 70 72 6f 67 7b 69 | 6e 65 77 73 7d 2c 20 72 | \prog{i|news}, r|
|000038e0| 65 73 70 65 63 74 69 76 | 65 6c 79 2e 20 49 6e 73 |espectiv|ely. Ins|
|000038f0| 74 65 61 64 20 6f 66 20 | 69 6e 76 6f 6b 69 6e 67 |tead of |invoking|
|00003900| 0a 5c 70 72 6f 67 7b 72 | 6e 65 77 73 7d 2c 20 79 |.\prog{r|news}, y|
|00003910| 6f 75 20 6d 61 79 20 61 | 6c 73 6f 20 63 6f 6e 66 |ou may a|lso conf|
|00003920| 69 67 75 72 65 20 69 74 | 20 28 61 74 20 63 6f 6d |igure it| (at com|
|00003930| 70 69 6c 65 20 74 69 6d | 65 29 20 74 6f 20 62 61 |pile tim|e) to ba|
|00003940| 74 63 68 20 74 68 65 0a | 69 6e 63 6f 6d 69 6e 67 |tch the.|incoming|
|00003950| 20 61 72 74 69 63 6c 65 | 73 20 61 6e 64 20 6d 6f | article|s and mo|
|00003960| 76 65 20 74 68 65 20 72 | 65 73 75 6c 74 69 6e 67 |ve the r|esulting|
|00003970| 20 62 61 74 63 68 65 73 | 20 74 6f 0a 5c 6e 65 77 | batches| to.\new|
|00003980| 73 73 70 6f 6f 6c 5c 66 | 69 6c 65 7b 2f 69 6e 2e |sspool\f|ile{/in.|
|00003990| 63 6f 6d 69 6e 67 7d 2c | 20 77 68 65 72 65 20 74 |coming},| where t|
|000039a0| 68 65 79 20 61 72 65 20 | 6c 65 66 74 20 66 6f 72 |hey are |left for|
|000039b0| 20 5c 70 72 6f 67 7b 72 | 65 6c 61 79 6e 65 77 73 | \prog{r|elaynews|
|000039c0| 7d 20 74 6f 0a 70 69 63 | 6b 20 74 68 65 6d 20 75 |} to.pic|k them u|
|000039d0| 70 20 61 74 20 74 68 65 | 20 6e 65 78 74 20 71 75 |p at the| next qu|
|000039e0| 65 75 65 20 72 75 6e 2e | 0a 0a 0a 54 6f 20 62 65 |eue run.|...To be|
|000039f0| 20 61 62 6c 65 20 74 6f | 20 70 72 6f 70 65 72 6c | able to| properl|
|00003a00| 79 20 70 65 72 66 6f 72 | 6d 20 74 68 65 20 69 68 |y perfor|m the ih|
|00003a10| 61 76 65 2f 73 65 6e 64 | 6d 65 20 70 72 6f 74 6f |ave/send|me proto|
|00003a20| 63 6f 6c 2c 20 5c 70 72 | 6f 67 7b 6e 6e 74 70 64 |col, \pr|og{nntpd|
|00003a30| 7d 0a 68 61 73 20 74 6f | 20 62 65 20 61 62 6c 65 |}.has to| be able|
|00003a40| 20 74 6f 20 61 63 63 65 | 73 73 20 74 68 65 20 5c | to acce|ss the \|
|00003a50| 66 69 6c 65 7b 68 69 73 | 74 6f 72 79 7d 20 66 69 |file{his|tory} fi|
|00003a60| 6c 65 2e 20 41 74 20 63 | 6f 6d 70 69 6c 65 20 74 |le. At c|ompile t|
|00003a70| 69 6d 65 2c 20 79 6f 75 | 0a 74 68 65 72 65 66 6f |ime, you|.therefo|
|00003a80| 72 65 20 68 61 76 65 20 | 74 6f 20 6d 61 6b 65 20 |re have |to make |
|00003a90| 73 75 72 65 20 74 68 65 | 20 70 61 74 68 20 69 73 |sure the| path is|
|00003aa0| 20 73 65 74 20 63 6f 72 | 72 65 63 74 6c 79 2e 20 | set cor|rectly. |
|00003ab0| 20 59 6f 75 20 73 68 6f | 75 6c 64 20 61 6c 73 6f | You sho|uld also|
|00003ac0| 0a 6d 61 6b 65 20 73 75 | 72 65 20 74 68 61 74 20 |.make su|re that |
|00003ad0| 43 7e 6e 65 77 73 20 61 | 6e 64 20 5c 70 72 6f 67 |C~news a|nd \prog|
|00003ae0| 7b 6e 6e 74 70 64 7d 20 | 61 67 72 65 65 20 6f 6e |{nntpd} |agree on|
|00003af0| 20 74 68 65 20 66 6f 72 | 6d 61 74 20 6f 66 20 79 | the for|mat of y|
|00003b00| 6f 75 72 0a 68 69 73 74 | 6f 72 79 20 66 69 6c 65 |our.hist|ory file|
|00003b10| 2e 20 43 7e 6e 65 77 73 | 20 75 73 65 73 20 5c 66 |. C~news| uses \f|
|00003b20| 69 6c 65 7b 64 62 6d 7d | 20 68 61 73 68 69 6e 67 |ile{dbm}| hashing|
|00003b30| 20 66 75 6e 63 74 69 6f | 6e 73 20 74 6f 20 61 63 | functio|ns to ac|
|00003b40| 63 65 73 73 20 69 74 3b | 0a 68 6f 77 65 76 65 72 |cess it;|.however|
|00003b50| 2c 20 74 68 65 72 65 20 | 61 72 65 20 71 75 69 74 |, there |are quit|
|00003b60| 65 20 61 20 6e 75 6d 62 | 65 72 20 6f 66 20 64 69 |e a numb|er of di|
|00003b70| 66 66 65 72 65 6e 74 20 | 61 6e 64 20 73 6c 69 67 |fferent |and slig|
|00003b80| 68 74 6c 79 20 69 6e 63 | 6f 6d 70 61 74 69 62 6c |htly inc|ompatibl|
|00003b90| 65 0a 69 6d 70 6c 65 6d | 65 6e 74 61 74 69 6f 6e |e.implem|entation|
|00003ba0| 73 20 6f 66 20 74 68 65 | 20 5c 66 69 6c 65 7b 64 |s of the| \file{d|
|00003bb0| 62 6d 7d 20 6c 69 62 72 | 61 72 79 2e 20 20 49 66 |bm} libr|ary. If|
|00003bc0| 20 43 7e 6e 65 77 73 20 | 68 61 73 20 62 65 65 6e | C~news |has been|
|00003bd0| 20 6c 69 6e 6b 65 64 0a | 77 69 74 68 20 74 68 65 | linked.|with the|
|00003be0| 20 61 20 64 69 66 66 65 | 72 65 6e 74 20 5c 66 69 | a diffe|rent \fi|
|00003bf0| 6c 65 7b 64 62 6d 7d 20 | 6c 69 62 72 61 72 79 20 |le{dbm} |library |
|00003c00| 74 68 61 6e 20 79 6f 75 | 20 68 61 76 65 20 69 6e |than you| have in|
|00003c10| 20 79 6f 75 72 20 73 74 | 61 6e 64 61 72 64 0a 5c | your st|andard.\|
|00003c20| 66 69 6c 65 7b 6c 69 62 | 63 7d 2c 20 79 6f 75 20 |file{lib|c}, you |
|00003c30| 68 61 76 65 20 74 6f 20 | 6c 69 6e 6b 20 5c 70 72 |have to |link \pr|
|00003c40| 6f 67 7b 6e 6e 74 70 64 | 7d 20 77 69 74 68 20 74 |og{nntpd|} with t|
|00003c50| 68 69 73 20 6c 69 62 72 | 61 72 79 2c 20 74 6f 6f |his libr|ary, too|
|00003c60| 2e 0a 0a 0a 5c 69 6e 64 | 65 78 7b 63 68 65 63 6b |....\ind|ex{check|
|00003c70| 69 6e 67 21 4e 4e 54 50 | 7d 0a 41 20 74 79 70 69 |ing!NNTP|}.A typi|
|00003c80| 63 61 6c 20 73 79 6d 70 | 74 6f 6d 20 6f 66 20 5c |cal symp|tom of \|
|00003c90| 70 72 6f 67 7b 6e 6e 74 | 70 64 7d 20 61 6e 64 20 |prog{nnt|pd} and |
|00003ca0| 43 7e 6e 65 77 73 20 64 | 69 73 61 67 72 65 65 69 |C~news d|isagreei|
|00003cb0| 6e 67 20 6f 6e 20 74 68 | 65 20 64 61 74 61 62 61 |ng on th|e databa|
|00003cc0| 73 65 0a 66 6f 72 6d 61 | 74 20 61 72 65 20 65 72 |se.forma|t are er|
|00003cd0| 72 6f 72 20 6d 65 73 73 | 61 67 65 73 20 69 6e 20 |ror mess|ages in |
|00003ce0| 74 68 65 20 73 79 73 74 | 65 6d 20 6c 6f 67 20 74 |the syst|em log t|
|00003cf0| 68 61 74 20 5c 70 72 6f | 67 7b 6e 6e 74 70 64 7d |hat \pro|g{nntpd}|
|00003d00| 20 63 6f 75 6c 64 20 6e | 6f 74 0a 6f 70 65 6e 20 | could n|ot.open |
|00003d10| 69 74 20 70 72 6f 70 65 | 72 6c 79 2c 20 6f 72 20 |it prope|rly, or |
|00003d20| 64 75 70 6c 69 63 61 74 | 65 20 61 72 74 69 63 6c |duplicat|e articl|
|00003d30| 65 73 20 72 65 63 65 69 | 76 65 64 20 76 69 61 20 |es recei|ved via |
|00003d40| 4e 4e 54 50 2e 20 20 41 | 20 67 6f 6f 64 20 74 65 |NNTP. A| good te|
|00003d50| 73 74 0a 69 73 20 74 6f | 20 70 69 63 6b 20 61 6e |st.is to| pick an|
|00003d60| 20 61 72 74 69 63 6c 65 | 20 66 72 6f 6d 20 79 6f | article| from yo|
|00003d70| 75 72 20 73 70 6f 6f 6c | 20 61 72 65 61 2c 20 74 |ur spool| area, t|
|00003d80| 65 6c 6e 65 74 20 74 6f | 20 74 68 65 20 5c 6b 65 |elnet to| the \ke|
|00003d90| 79 77 6f 72 64 7b 6e 6e | 74 70 7d 0a 70 6f 72 74 |yword{nn|tp}.port|
|00003da0| 2c 20 61 6e 64 20 6f 66 | 66 65 72 20 69 74 20 74 |, and of|fer it t|
|00003db0| 6f 20 5c 70 72 6f 67 7b | 6e 6e 74 70 64 7d 20 61 |o \prog{|nntpd} a|
|00003dc0| 73 20 73 68 6f 77 6e 20 | 69 6e 20 74 68 65 20 65 |s shown |in the e|
|00003dd0| 78 61 6d 70 6c 65 20 62 | 65 6c 6f 77 20 28 79 6f |xample b|elow (yo|
|00003de0| 75 72 0a 69 6e 70 75 74 | 20 69 73 20 6d 61 72 6b |ur.input| is mark|
|00003df0| 65 64 20 5c 76 61 72 7b | 6c 69 6b 65 20 74 68 69 |ed \var{|like thi|
|00003e00| 73 7d 29 2e 20 20 4f 66 | 20 63 6f 75 72 73 65 2c |s}). Of| course,|
|00003e10| 20 79 6f 75 20 68 61 76 | 65 20 74 6f 20 72 65 70 | you hav|e to rep|
|00003e20| 6c 61 63 65 0a 5c 76 61 | 72 7b 24 3c 24 6d 73 67 |lace.\va|r{$<$msg|
|00003e30| 40 69 64 24 3e 24 7d 20 | 77 69 74 68 20 74 68 65 |@id$>$} |with the|
|00003e40| 20 6d 65 73 73 61 67 65 | 2d 49 44 20 6f 66 20 74 | message|-ID of t|
|00003e50| 68 65 20 61 72 74 69 63 | 6c 65 20 79 6f 75 20 77 |he artic|le you w|
|00003e60| 61 6e 74 20 74 6f 20 66 | 65 65 64 0a 74 6f 20 5c |ant to f|eed.to \|
|00003e70| 70 72 6f 67 7b 6e 6e 74 | 70 64 7d 20 61 67 61 69 |prog{nnt|pd} agai|
|00003e80| 6e 2e 0a 0a 0a 5c 62 65 | 67 69 6e 7b 74 73 63 72 |n....\be|gin{tscr|
|00003e90| 65 65 6e 7d 5c 73 6d 61 | 6c 6c 5c 74 74 0a 5c 24 |een}\sma|ll\tt.\$|
|00003ea0| 20 5c 76 61 72 7b 74 65 | 6c 6e 65 74 20 6c 6f 63 | \var{te|lnet loc|
|00003eb0| 61 6c 68 6f 73 74 20 6e | 6e 74 70 7d 09 09 5c 5c |alhost n|ntp}..\\|
|00003ec0| 0a 54 72 79 69 6e 67 20 | 31 32 37 2e 30 2e 30 2e |.Trying |127.0.0.|
|00003ed0| 31 2e 2e 2e 09 09 09 5c | 5c 0a 43 6f 6e 6e 65 63 |1......\|\.Connec|
|00003ee0| 74 65 64 20 74 6f 20 6c | 6f 61 6c 68 6f 73 74 09 |ted to l|oalhost.|
|00003ef0| 09 09 5c 5c 0a 45 73 63 | 61 70 65 20 63 68 61 72 |..\\.Esc|ape char|
|00003f00| 61 63 74 65 72 73 20 69 | 73 20 27 5c 63 61 72 20 |acters i|s '\car |
|00003f10| 5d 27 2e 09 09 5c 5c 0a | 32 30 31 20 76 73 74 6f |]'...\\.|201 vsto|
|00003f20| 75 74 20 4e 4e 54 50 5b | 61 75 74 68 5d 20 73 65 |ut NNTP[|auth] se|
|00003f30| 72 76 65 72 20 76 65 72 | 73 69 6f 6e 20 31 2e 35 |rver ver|sion 1.5|
|00003f40| 2e 31 31 74 20 28 31 36 | 20 4e 6f 76 65 6d 62 65 |.11t (16| Novembe|
|00003f50| 72 20 31 39 39 31 29 20 | 72 65 61 64 79 20 61 74 |r 1991) |ready at|
|00003f60| 0a 53 75 6e 20 46 65 62 | 20 36 20 31 36 3a 30 32 |.Sun Feb| 6 16:02|
|00003f70| 3a 33 32 20 31 31 39 34 | 20 28 6e 6f 20 70 6f 73 |:32 1194| (no pos|
|00003f80| 74 69 6e 67 29 09 5c 5c | 0a 5c 76 61 72 7b 49 48 |ting).\\|.\var{IH|
|00003f90| 41 56 45 20 24 3c 24 6d | 73 67 40 69 64 24 3e 24 |AVE $<$m|sg@id$>$|
|00003fa0| 7d 09 09 5c 5c 0a 34 33 | 35 20 47 6f 74 20 69 74 |}..\\.43|5 Got it|
|00003fb0| 2e 09 09 09 09 5c 5c 0a | 5c 76 61 72 7b 51 55 49 |.....\\.|\var{QUI|
|00003fc0| 54 7d 0a 5c 65 6e 64 7b | 74 73 63 72 65 65 6e 7d |T}.\end{|tscreen}|
|00003fd0| 0a 0a 0a 54 68 69 73 20 | 63 6f 6e 76 65 72 73 61 |...This |conversa|
|00003fe0| 74 69 6f 6e 20 73 68 6f | 77 73 20 74 68 65 20 70 |tion sho|ws the p|
|00003ff0| 72 6f 70 65 72 20 72 65 | 61 63 74 69 6f 6e 20 6f |roper re|action o|
|00004000| 66 20 5c 70 72 6f 67 7b | 6e 6e 74 70 64 7d 3b 20 |f \prog{|nntpd}; |
|00004010| 74 68 65 20 6d 65 73 73 | 61 67 65 0a 60 60 5c 74 |the mess|age.``\t|
|00004020| 65 72 6d 7b 47 6f 74 20 | 69 74 7d 27 27 20 74 65 |erm{Got |it}'' te|
|00004030| 6c 6c 73 20 79 6f 75 20 | 74 68 61 74 20 69 74 20 |lls you |that it |
|00004040| 61 6c 72 65 61 64 79 20 | 68 61 73 20 74 68 69 73 |already |has this|
|00004050| 20 61 72 74 69 63 6c 65 | 2e 20 49 66 20 79 6f 75 | article|. If you|
|00004060| 20 67 65 74 0a 61 20 6d | 65 73 73 61 67 65 20 6f | get.a m|essage o|
|00004070| 66 20 60 60 5c 74 65 72 | 6d 7b 33 33 35 20 4f 6b |f ``\ter|m{335 Ok|
|00004080| 7d 27 27 20 69 6e 73 74 | 65 61 64 2c 20 74 68 65 |}'' inst|ead, the|
|00004090| 20 6c 6f 6f 6b 75 70 20 | 69 6e 20 74 68 65 20 68 | lookup |in the h|
|000040a0| 69 73 74 6f 72 79 20 66 | 69 6c 65 0a 66 61 69 6c |istory f|ile.fail|
|000040b0| 65 64 20 66 6f 72 20 73 | 6f 6d 65 20 72 65 61 73 |ed for s|ome reas|
|000040c0| 6f 6e 2e 20 54 65 72 6d | 69 6e 61 74 65 20 74 68 |on. Term|inate th|
|000040d0| 65 20 63 6f 6e 76 65 72 | 73 61 74 69 6f 6e 20 62 |e conver|sation b|
|000040e0| 79 20 74 79 70 69 6e 67 | 20 43 74 72 6c 2d 44 2e |y typing| Ctrl-D.|
|000040f0| 0a 59 6f 75 20 63 61 6e | 20 63 68 65 63 6b 20 77 |.You can| check w|
|00004100| 68 61 74 20 68 61 73 20 | 67 6f 6e 65 20 77 72 6f |hat has |gone wro|
|00004110| 6e 67 20 62 79 20 63 68 | 65 63 6b 69 6e 67 20 74 |ng by ch|ecking t|
|00004120| 68 65 20 73 79 73 74 65 | 6d 20 6c 6f 67 3b 0a 5c |he syste|m log;.\|
|00004130| 70 72 6f 67 7b 6e 6e 74 | 70 64 7d 20 6c 6f 67 73 |prog{nnt|pd} logs|
|00004140| 20 61 6c 6c 20 6b 69 6e | 64 73 20 6f 66 20 6d 65 | all kin|ds of me|
|00004150| 73 73 61 67 65 73 20 74 | 6f 20 74 68 65 20 5c 6b |ssages t|o the \k|
|00004160| 65 79 77 6f 72 64 7b 64 | 61 65 6d 6f 6e 7d 20 66 |eyword{d|aemon} f|
|00004170| 61 63 69 6c 69 74 79 0a | 6f 66 20 5c 70 72 6f 67 |acility.|of \prog|
|00004180| 7b 73 79 73 6c 6f 67 7d | 2e 20 20 41 6e 20 69 6e |{syslog}|. An in|
|00004190| 63 6f 6d 70 61 74 69 62 | 6c 65 20 5c 66 69 6c 65 |compatib|le \file|
|000041a0| 7b 64 62 6d 7d 20 6c 69 | 62 72 61 72 79 20 75 73 |{dbm} li|brary us|
|000041b0| 75 61 6c 6c 79 20 6d 61 | 6e 69 66 65 73 74 73 0a |ually ma|nifests.|
|000041c0| 69 74 73 65 6c 66 20 69 | 6e 20 61 20 6d 65 73 73 |itself i|n a mess|
|000041d0| 61 67 65 20 63 6f 6d 70 | 6c 61 69 6e 69 6e 67 20 |age comp|laining |
|000041e0| 74 68 61 74 20 5c 66 75 | 6e 63 7b 64 62 6d 69 6e |that \fu|nc{dbmin|
|000041f0| 69 74 7d 20 66 61 69 6c | 65 64 2e 0a 0a 5c 69 6e |it} fail|ed...\in|
|00004200| 64 65 78 7b 63 6f 6e 66 | 69 67 75 72 69 6e 67 21 |dex{conf|iguring!|
|00004210| 4e 4e 54 50 7c 29 7d 0a | |NNTP|)}.| |
+--------+-------------------------+-------------------------+--------+--------+